Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix wrapEventObservable #2660

Merged
merged 2 commits into from
Aug 26, 2018
Merged

fix wrapEventObservable #2660

merged 2 commits into from
Aug 26, 2018

Conversation

nicolashenry
Copy link
Contributor

I almost sure (after some debugging) that it should fix a problem with the latest beta (5.0.0-beta.15) due to this change which have been merged : #2622
My problem is that Network.onConnect() throws an error with the latest v5 (but worked with 5.0.0-beta.14). The error is "RangeError: Maximum call stack size exceeded" because rxjs try to subscribe to the "document" string instead of document object.
I think it should be easy to reproduce.

@ihadeed
Copy link
Collaborator

ihadeed commented Aug 26, 2018

Good catch ... we were calling get(window, element) but not assigning the value to element.

Thanks

@ihadeed ihadeed merged commit bd34581 into danielsogl:v5 Aug 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants