Comparing version 2.0.0 to 2.1.0
@@ -12,2 +12,3 @@ module.exports = EENano | ||
var handlers = this._listeners[event] | ||
var returnVal | ||
if (handlers != null) { | ||
@@ -17,5 +18,7 @@ for (var i = 0; i < handlers.length; i++) { | ||
var thisArg = handlers[i].thisArg || this | ||
returnVal = true | ||
fn.call(thisArg, metadata) | ||
} | ||
} | ||
return returnVal | ||
} | ||
@@ -22,0 +25,0 @@ EENano.prototype.on = function (event, handler, thisArg) { |
{ | ||
"name": "eenano", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "A tiny pessimistic event emitter. Optimized for no listeners.", | ||
@@ -5,0 +5,0 @@ "main": "eenano.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
4045
33