In JsBin, I got error "Rx.Observable.just is not a function" in Firefox & Chrome. JsBin example : http://jsbin.com/vunuta/edit?html,js,console
HTML :
script src="https://npmcdn.com/@reactivex/[email protected]/dist/global/Rx.umd.js">
Typescript :
Rx.Observable.from ([1,2,3]).subscribe(x => console.log(x)); // Work
Rx.Observable.just (99).subscribe(x => console.log(x)); // Fail
Rx.Observable.return (99).subscribe(x => console.log(x)); // Fail
Tx
Rx.Observable.just()
is no longer provided in v5. Use Rx.Observable.of()
. https://github.com/ReactiveX/rxjs/blob/master/MIGRATION.md