@lijuhong1981/jsevents 1.1.0 → 1.1.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lijuhong1981/jsevents",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "> TODO: description",
5
5
  "author": "lijuhong1981",
6
6
  "homepage": "https://github.com/lijuhong1981/jslibs#readme",
@@ -21,5 +21,6 @@
21
21
  "dependencies": {
22
22
  "@lijuhong1981/jscheck": "^1.0.9",
23
23
  "@lijuhong1981/jsdestroy": "^1.1.7"
24
- }
24
+ },
25
+ "gitHead": "a9d2c98fdcce71031b0e4e9c2fabdaab688c7c48"
25
26
  }
@@ -47,7 +47,7 @@ class EventEmitter extends Destroyable {
47
47
  * @param {String|Object} type 事件类型
48
48
  * @returns {Boolean} 判断结果
49
49
  */
50
- has(type) {
50
+ hasListener(type) {
51
51
  return this._dispatcher.hasEventListener(type);
52
52
  }
53
53