2016-08-26 1 views
11

In JsBin, habe ich Fehler "Rx.Observable.just ist keine Funktion" in Firefox & Chrome. JsBin Beispiel: http://jsbin.com/vunuta/edit?html,js,consoleRx.Observable.just ist keine Funktion in JSBIN & RxJS 5

HTML:

script src="https://npmcdn.com/@reactivex/[email protected]/dist/global/Rx.umd.js"> 

Typoskript:

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

+1

Ich fand warum. Just & Return werden durch den Operator https://github.com/ReactiveX/rxjs/blob/master/MIGRATION.md ersetzt –

Antwort