@lijuhong1981/jsevents 1.0.6 → 1.0.8
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/index.js +2 -2
- package/package.json +4 -4
- package/src/{Event.js → EventRaiser.js} +2 -2
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lijuhong1981/jsevents",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "lijuhong1981",
|
|
6
|
-
"homepage": "https://github.com/lijuhong1981/
|
|
6
|
+
"homepage": "https://github.com/lijuhong1981/jslibs#readme",
|
|
7
7
|
"license": "ISC",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"main": "index.js",
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
},
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
|
16
|
-
"url": "git+https://github.com/lijuhong1981/
|
|
16
|
+
"url": "git+https://github.com/lijuhong1981/jslibs.git"
|
|
17
17
|
},
|
|
18
18
|
"bugs": {
|
|
19
|
-
"url": "https://github.com/lijuhong1981/
|
|
19
|
+
"url": "https://github.com/lijuhong1981/jslibs/issues"
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Check from "@lijuhong1981/jscheck";
|
|
2
2
|
import { Destroyable } from "@lijuhong1981/jsdestroy";
|
|
3
3
|
|
|
4
|
-
class
|
|
4
|
+
class EventRaiser extends Destroyable {
|
|
5
5
|
constructor() {
|
|
6
6
|
super();
|
|
7
7
|
this._listeners = [];
|
|
@@ -117,4 +117,4 @@ class Event extends Destroyable {
|
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
|
|
120
|
-
export default
|
|
120
|
+
export default EventRaiser;
|