On Sat, Jun 8, 2013 at 10:35 PM, dhruvbird <[email protected]> wrote:
> I don't know if this has been discussed before, but jQuery has an "off"
> method that works like "removeListener". The node.js EventEmitter has an
> "on" and an "addListener" method, but no "off" method. Any good reason not
> to add it for symmetry?

There's a lot of third-party code that inherits from EventEmitter.
Adding a new property is bound to break something, somewhere.  Case
study: the 'domain' property that was added in v0.8.

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to