Comparing version 0.5.3 to 0.5.4
@@ -5,3 +5,3 @@ { | ||
"description": "Custom Events", | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"keywords": ["events"], | ||
@@ -8,0 +8,0 @@ "dependencies": {}, |
20
eve.js
@@ -15,3 +15,3 @@ // Copyright (c) 2017 Adobe Systems Incorporated. All rights reserved. | ||
// ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ \\ | ||
// β Eve 0.5.3 - JavaScript Events Library β \\ | ||
// β Eve 0.5.4 - JavaScript Events Library β \\ | ||
// ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€ \\ | ||
@@ -22,3 +22,3 @@ // β Author Dmitry Baranovskiy (http://dmitry.baranovskiy.com/) β \\ | ||
(function (glob) { | ||
var version = "0.5.3", | ||
var version = "0.5.4", | ||
has = "hasOwnProperty", | ||
@@ -28,3 +28,2 @@ separator = /[\.\/]/, | ||
wildcard = "*", | ||
fun = function () {}, | ||
numsort = function (a, b) { | ||
@@ -55,3 +54,3 @@ return a - b; | ||
return ar instanceof Array || objtos.call(ar) == "[object Array]"; | ||
}; | ||
}, | ||
/*\ | ||
@@ -70,8 +69,6 @@ * eve | ||
eve = function (name, scope) { | ||
var e = events, | ||
oldstop = stop, | ||
var oldstop = stop, | ||
args = Array.prototype.slice.call(arguments, 2), | ||
listeners = eve.listeners(name), | ||
z = 0, | ||
f = false, | ||
l, | ||
@@ -81,4 +78,3 @@ indexed = [], | ||
out = [], | ||
ce = current_event, | ||
errors = []; | ||
ce = current_event; | ||
out.firstDefined = firstDefined; | ||
@@ -133,4 +129,4 @@ out.lastDefined = lastDefined; | ||
}; | ||
// Undocumented. Debug only. | ||
eve._events = events; | ||
// Undocumented. Debug only. | ||
eve._events = events; | ||
/*\ | ||
@@ -445,3 +441,3 @@ * eve.listeners | ||
glob.eve = eve; | ||
typeof module != "undefined" && module.exports ? module.exports = eve : typeof define === "function" && define.amd ? define("eve", [], function() { return eve; }) : glob.eve = eve; | ||
typeof module != "undefined" && module.exports ? module.exports = eve : typeof define === "function" && define.amd ? define("eve", [], function () { return eve; }) : glob.eve = eve; | ||
})(typeof window != "undefined" ? window : this); |
@@ -11,3 +11,3 @@ { | ||
"license": "Apache-2.0", | ||
"version" : "0.5.3", | ||
"version" : "0.5.4", | ||
@@ -24,3 +24,3 @@ "main" : "./eve.js", | ||
"scripts": { | ||
"test": "./node_modules/eslint/bin/eslint.js eve.js", | ||
"test": "eslint eve.js", | ||
"build": "node node_modules/dr.js/dr dr.json" | ||
@@ -59,2 +59,11 @@ }, | ||
"no-mixed-requires": 0, | ||
"indent": ["error", 4, { "SwitchCase": 1, "VariableDeclarator": 1 }], | ||
"no-multi-spaces": [0, { | ||
"exceptions": { | ||
"VariableDeclarator": true | ||
} | ||
}], | ||
"no-trailing-spaces": [2, { "skipBlankLines": false }], | ||
"no-unused-vars": [2, {"vars": "all", "args": "none"}], | ||
"space-before-function-paren": [2, {"anonymous": "always", "named": "never"}], | ||
"quotes": [ | ||
@@ -61,0 +70,0 @@ 1, |
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
36337
449