Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.

Observable.zip and Observable.prototype.zip have different interfaces #867

Closed
menelaos opened this issue Aug 21, 2015 · 2 comments
Closed

Comments

@menelaos
Copy link
Contributor

Follow-up to #853

The following example still does not work despite being explicitly mentioned in
https://github.com/Reactive-Extensions/RxJS/releases/tag/v3.1.0 :

var source = Rx.Observable.zip([
  Rx.Observable.of(1,2,3),
  Rx.Observable.of(4,5,6),
  Rx.Observable.of(7,8,9)
]);
//Uncaught TypeError: Cannot read property 'apply' of undefined

It only works correctly as an instance method:

var source = Rx.Observable.of(1,2,3).zip([
  Rx.Observable.of(4,5,6),
  Rx.Observable.of(7,8,9)
]);
@mattpodwysocki
Copy link
Member

@menelaos closed by 3.1.1

@menelaos
Copy link
Contributor Author

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants