quark-dev-team/quarkjs — Issue #1: EventDispatcher发送事件的bug
Author: colorhook
Created: 2011-10-27 10:35:11+00:00
State: open

dispatchEvent 方法中在遍历监听器之前应该先拿到一份监听器的拷贝，否则在事件的handler函数中进行addEventListener和removeEventListener时会出现问题。