@lijuhong1981/jsevents 1.1.8 → 1.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lijuhong1981/jsevents",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "> TODO: description",
5
5
  "author": "lijuhong1981 <lijuhong@hotmail.com>",
6
6
  "homepage": "https://github.com/lijuhong1981/jslibs#readme",
@@ -22,5 +22,5 @@
22
22
  "@lijuhong1981/jscheck": "^1.0.10",
23
23
  "@lijuhong1981/jsdestroy": "^1.1.10"
24
24
  },
25
- "gitHead": "c46541f47b63668952abb99d1edd73e9781418a9"
25
+ "gitHead": "e3b403cd6bfe9e7615c8b96a6e2ce38da076aaef"
26
26
  }
@@ -161,9 +161,9 @@ class EventDispatcher extends Destroyable {
161
161
  const _event = this._events.get(type);
162
162
  if (_event)
163
163
  _event.raiseEvent(type, ...args);
164
- else {
165
- console.warn('Not found the type`s event.', type);
166
- }
164
+ // else {
165
+ // console.warn('Not found the type`s event.', type);
166
+ // }
167
167
 
168
168
  return this;
169
169
  }
@@ -184,9 +184,9 @@ class EventDispatcher extends Destroyable {
184
184
  const _event = this._events.get(event.type);
185
185
  if (_event)
186
186
  _event.raiseEvent(event);
187
- else {
188
- console.warn('Not found the type`s event.', event.type);
189
- }
187
+ // else {
188
+ // console.warn('Not found the type`s event.', event.type);
189
+ // }
190
190
 
191
191
  return this;
192
192
  }