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

Event Emitter triggers all the objects of prototype "Node" #10

Closed
Chat-Wane opened this issue Mar 19, 2014 · 1 comment
Closed

Event Emitter triggers all the objects of prototype "Node" #10

Chat-Wane opened this issue Mar 19, 2014 · 1 comment

Comments

@Chat-Wane
Copy link

In the file node.js, the function Node extends Event Emitter. However, the emission of one event triggers the corresponding event of the other Nodes. ( I suspect that it is not the expected behaviour )

A link that describes the problem and how to solve it (requires very few changes):
http://opensourcejason.info/2013/10/08/properly-extending-eventemitter-in-node-js/

Btw, thanks for sharing smokesignal.

marcelklehr added a commit that referenced this issue Mar 19, 2014
@marcelklehr
Copy link
Owner

Fixed :) Thanks for the heads-up!

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

No branches or pull requests

2 participants