pandamicro
|
38c61c70b4
|
Refactor EventTarget: remove hasListenerCache, move dispatch APIs to Node (#2595)
* Improve node property setter performance
* Avoid physics sync trigger events
* Improve callbacksHandler.has performance
* Use flag instead of hasListenerCache in animation state
* Remove hasListenerCache, add event target APIs for dispatch
* Fix some issues
* Fix event target has check
* Expose EventType and LocalDirtyFlag
* Move dispatch related APIs to Node and fix issues
* Refactor event target
* Fix sub listener usage for event target
* Improve code
* Remove callbacksInvoker.has
|
2018-04-26 21:50:27 +08:00 |
|