Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMaciej MaƂecki <maciej.malecki@notimplemented.org>2012-04-15 13:09:37 +0400
committerBen Noordhuis <info@bnoordhuis.nl>2012-04-15 17:52:56 +0400
commitf065c87bcf65c3ffa50980bba5562ed7159b86db (patch)
tree1f19030ae449ad75ef1a5b32c58dc5b9f17a7c63 /lib
parentc945eae9421c94590bd8736e903551fac8a0c885 (diff)
events: remove misleading comment
Diffstat (limited to 'lib')
-rw-r--r--lib/events.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/events.js b/lib/events.js
index b42f086ee77..05255ac3d32 100644
--- 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');