diff options
author | Ryunosuke SATO <tricknotes.rs@gmail.com> | 2012-12-10 18:32:56 +0900 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-12-10 13:08:26 +0100 |
commit | 0506d294dc5a51556e935a50a754aa7cbd7a7977 (patch) | |
tree | c5126d8defb053dedf3d9245432d15e8d63295c4 /lib | |
parent | eb502205d5a378f5300ace404f43d3da27d473ad (diff) | |
download | android-node-v8-0506d294dc5a51556e935a50a754aa7cbd7a7977.tar.gz android-node-v8-0506d294dc5a51556e935a50a754aa7cbd7a7977.tar.bz2 android-node-v8-0506d294dc5a51556e935a50a754aa7cbd7a7977.zip |
events: fix typos in code comment
- newListeners -> newListener
Diffstat (limited to 'lib')
-rw-r--r-- | lib/events.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/events.js b/lib/events.js index 59bcb13b79..979f19141c 100644 --- a/lib/events.js +++ b/lib/events.js @@ -137,8 +137,8 @@ EventEmitter.prototype.addListener = function(type, listener) { if (!this._events) this._events = {}; - // To avoid recursion in the case that type == "newListeners"! Before - // adding it to the listeners, first emit "newListeners". + // To avoid recursion in the case that type == "newListener"! Before + // adding it to the listeners, first emit "newListener". if (this._events.newListener) { this.emit('newListener', type, typeof listener.listener === 'function' ? listener.listener : listener); |