projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c945eae
)
events: remove misleading comment
author
Maciej Małecki
<maciej.malecki@notimplemented.org>
Sun, 15 Apr 2012 09:09:37 +0000
(11:09 +0200)
committer
Ben Noordhuis
<info@bnoordhuis.nl>
Sun, 15 Apr 2012 13:52:56 +0000
(15:52 +0200)
lib/events.js
patch
|
blob
|
history
diff --git
a/lib/events.js
b/lib/events.js
index
b42f086
..
05255ac
100644
(file)
--- a/
lib/events.js
+++ b/
lib/events.js
@@
-94,8
+94,6
@@
EventEmitter.prototype.emit = function() {
}
};
-// EventEmitter is defined in src/node_events.cc
-// EventEmitter.prototype.emit() is also defined there.
EventEmitter.prototype.addListener = function(type, listener) {
if ('function' !== typeof listener) {
throw new Error('addListener only takes instances of Function');