Browse Source

events: remove misleading comment

v0.9.1-release
Maciej Małecki 13 years ago
committed by Ben Noordhuis
parent
commit
f065c87bcf
  1. 2
      lib/events.js

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

Loading…
Cancel
Save