diff --git a/events.js b/events.js index 1619a62..ac1b30f 100644 --- a/events.js +++ b/events.js @@ -218,6 +218,8 @@ EventEmitter.prototype.removeListener = function(type, listener) { return this; }; +EventEmitter.prototype.off = EventEmitter.prototype.removeListener; + EventEmitter.prototype.removeAllListeners = function(type) { var key, listeners;