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

Compatible ES6. fix webofthings/webofthings.js#3 #4

Merged
merged 1 commit into from
Sep 17, 2016

Conversation

franckOL
Copy link

@franckOL franckOL commented Aug 9, 2016

A lightweigh fix for #3.
Maybe use of EventEmitter could be safer

@domguinard domguinard self-assigned this Sep 17, 2016
@domguinard
Copy link
Member

Very neat, thanks for the PR. Merging now!

@domguinard
Copy link
Member

I actually had to revert the PR after I noticed one of the tests failed. The issue is that for actions we register two observers: one for Websockets subscribers (in websockets.js) one for the Plugin used to listen for incoming Actions in CorePlugin.js. With the PR one "observer" overrides the other. Will look for a way around it, thanks again for showing us the direction!

@franckOL
Copy link
Author

It's very strange, because i modify the 2 files websocket abd coreplugin, one for Array the Other for Object. So not the same class, i don't understand where is the the overrides.

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.

2 participants