-
-
Notifications
You must be signed in to change notification settings - Fork 175
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
_events is shared across subclasses #10
Comments
Can we get a fix and test PR for this?
|
The fix from node.js master doesn't work in ie8. So if we want to keep parity with current browsers we support the fix has to be different. Personally don't care about dropping IE8 support. |
See the following: 468c5d7 4e7cb02 onsip#66 browserify/events#10
Drop IE 8 ? Please ? |
@lpstein Looking at your code example, Reason Suppose you do not want this, you can make instances have their own private events collection by: Note: this does not take away the shared events collection as explained earlier, it only shadows it. Another option is to require util module then do this: Cheers!! |
You can also do something like:
That's one of the methods Babel uses to transpile ES6 inheritance when |
This is an automatically generated message. lpstein@yahoo-inc.com is no longer with Yahoo! Inc. Your message will not be forwarded. If you have a sales inquiry, please email yahoosales@yahoo-inc.com and someone will follow up with you shortly. If you require assistance with a legal matter, please send a message to legal-notices@yahoo-inc.com Thank you! |
Yahoooo spam! |
Fixed in #40. Will try to release soon once I get it working on IE8 again |
Behavior broke in node 0.10, see nodejs/node-v0.x-archive#7157 (fixed in node.js master).
Example:
This logs 'test' where it shouldn't.
The text was updated successfully, but these errors were encountered: