@lijuhong1981/jsevents 1.0.10 → 1.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +5 -2
- package/src/EventDispatcher.js +1 -1
- package/src/EventEmitter.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lijuhong1981/jsevents",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.12",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "lijuhong1981",
|
|
6
6
|
"homepage": "https://github.com/lijuhong1981/jslibs#readme",
|
|
@@ -18,5 +18,8 @@
|
|
|
18
18
|
"bugs": {
|
|
19
19
|
"url": "https://github.com/lijuhong1981/jslibs/issues"
|
|
20
20
|
},
|
|
21
|
-
"
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@lijuhong1981/jscheck": "^1.0.9",
|
|
23
|
+
"@lijuhong1981/jsdestroy": "^1.1.7"
|
|
24
|
+
}
|
|
22
25
|
}
|
package/src/EventDispatcher.js
CHANGED
|
@@ -2,7 +2,7 @@ import Check from "@lijuhong1981/jscheck/src/Check.js";
|
|
|
2
2
|
import isArray from "@lijuhong1981/jscheck/src/isArray.js";
|
|
3
3
|
import isFunction from "@lijuhong1981/jscheck/src/isFunction.js";
|
|
4
4
|
import isString from "@lijuhong1981/jscheck/src/isString.js";
|
|
5
|
-
import Destroyable from "@
|
|
5
|
+
import Destroyable from "@lijuhong1981/jsdestroy/src/Destroyable.js";
|
|
6
6
|
|
|
7
7
|
function indexOfListener(listeners, callback) {
|
|
8
8
|
for (let i = 0; i < listeners.length; i++) {
|
package/src/EventEmitter.js
CHANGED