This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
EventEmitter docs should indicate that the emitter must be instantiated via util.inherits() and EventEmitter.call(this) #7646
Labels
Comments
Right now it is only semi-documented on https://github.com/joyent/node/wiki/Api-changes-between-v0.8-and-v0.10 |
@bnoordhuis @yunong using |
This was fixed in nodejs/node#2168 - and because I don't think the doc change will be backported, I'll close this issue for now. |
@brendanashworth even if an issue is still relevant or a fix has to be backported to 0.12 or 0.10, it would be done in nodejs/node. |
@targos hmm.. is there any reason to leave any of these issues open then? :) |
The only reason I see is for you are doing right now: answering to them, closing and redirecting to nodejs/node if applicable. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The current EventEmitter docs: http://nodejs.org/api/events.html do not indicate how one should instantiate an instance of the emitter.
The blessed procedure is:
The text was updated successfully, but these errors were encountered: