Reactive-Extensions/rx.angular.js

v1.0.0 doesn't work

Closed this issue · 2 comments

I have a little plunker to experiment with rx.angular.js: http://plnkr.co/edit/sGx4HH
I added Lodash to the mix because now I prefer that over loops, but basically it is one of your examples, I think.

If I change the rx.angular.js to the tagged version v1.0.0, it just display nothing, and after a while (a few seconds) I get this stack trace:

ReferenceError: scope is not defined
at ObserveOnScope.subscribeCore (rx.angular.js:178)
at ObserveOnScope.tryCatcher (rx.all.js:63)
at setDisposable (rx.all.js:2038)
at ObserveOnScope.Rx.ObservableBase.ObservableBase._subscribe (rx.all.js:2053)
at ObserveOnScope.Rx.Observable.observableProto.subscribe.observableProto.forEach (rx.all.js:1990)
at DebounceObservable.subscribeCore (rx.all.js:9691)
at DebounceObservable.tryCatcher (rx.all.js:63)
at setDisposable (rx.all.js:2038)
at DebounceObservable.Rx.ObservableBase.ObservableBase._subscribe (rx.all.js:2053)
at DebounceObservable.Rx.Observable.observableProto.subscribe.observableProto.forEach (rx.all.js:1990)

@PhiLhoSoft apologizes, refactoring caused errors that somehow the unit tests weren't catching for some strange reason.

I confirm v1.0.1 works again. Thanks.