@lijuhong1981/jsevents 1.0.7 → 1.0.9

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 CHANGED
@@ -1,9 +1,9 @@
1
- import Event from "./src/Event";
2
- import EventDispatcher from "./src/EventDispatcher";
3
- import EventEmitter from "./src/EventEmitter";
1
+ import EventDispatcher from "./src/EventDispatcher.js";
2
+ import EventEmitter from "./src/EventEmitter.js";
3
+ import EventRaiser from "./src/EventRaiser.js";
4
4
 
5
5
  export {
6
- Event,
7
6
  EventDispatcher,
8
7
  EventEmitter,
8
+ EventRaiser,
9
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lijuhong1981/jsevents",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "> TODO: description",
5
5
  "author": "lijuhong1981",
6
6
  "homepage": "https://github.com/lijuhong1981/jslibs#readme",
@@ -17,5 +17,6 @@
17
17
  },
18
18
  "bugs": {
19
19
  "url": "https://github.com/lijuhong1981/jslibs/issues"
20
- }
20
+ },
21
+ "gitHead": "a08f74f8e5804347634ba03840b28550b2ed14c8"
21
22
  }
@@ -1,5 +1,5 @@
1
1
  import { Destroyable } from "@lijuhong1981/jsdestroy";
2
- import EventDispatcher from "./EventDispatcher";
2
+ import EventDispatcher from "./EventDispatcher.js";
3
3
 
4
4
  class EventEmitter extends Destroyable {
5
5
  constructor() {
@@ -1,7 +1,7 @@
1
1
  import Check from "@lijuhong1981/jscheck";
2
2
  import { Destroyable } from "@lijuhong1981/jsdestroy";
3
3
 
4
- class Event extends Destroyable {
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 Event;
120
+ export default EventRaiser;