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');