events: remove misleading comment
authorMaciej Małecki <maciej.malecki@notimplemented.org>
Sun, 15 Apr 2012 09:09:37 +0000 (11:09 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Sun, 15 Apr 2012 13:52:56 +0000 (15:52 +0200)
lib/events.js

index b42f086..05255ac 100644 (file)
@@ -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');