提交 b9de3e2c 编写于 作者: T Tristan VALCKE

Protect EventDispatcher against the closure circular reference bug

上级 97dcf8c5
......@@ -4,7 +4,7 @@
function EventDispatcher() {}
EventDispatcher.prototype = {
Object.assign( EventDispatcher.prototype, {
addEventListener: function ( type, listener ) {
......@@ -87,7 +87,7 @@ EventDispatcher.prototype = {
}
};
} );
export { EventDispatcher };
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册