Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
events: remove misleading comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalecki authored and bnoordhuis committed Apr 15, 2012
1 parent c945eae commit f065c87
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/events.js
Expand Up @@ -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');
Expand Down

0 comments on commit f065c87

Please sign in to comment.