strict-event-emitter
Advanced tools
Comparing version 0.2.5 to 0.2.6
@@ -59,3 +59,6 @@ "use strict"; | ||
StrictEventEmitter.prototype.removeAllListeners = function (event) { | ||
return _super.prototype.removeAllListeners.call(this, event ? event.toString() : undefined); | ||
if (event) { | ||
return _super.prototype.removeAllListeners.call(this, event.toString()); | ||
} | ||
return _super.prototype.removeAllListeners.call(this); | ||
}; | ||
@@ -62,0 +65,0 @@ StrictEventEmitter.prototype.eventNames = function () { |
{ | ||
"name": "strict-event-emitter", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"description": "Type-safe \"EventEmitter\" for everyday use", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8610
111