diff --git a/src/core/EventDispatcher.js b/src/core/EventDispatcher.js index 2b9b4649a6de029820d598a547f7ee617cc7f42f..417a730bbcadaa92241f95aef9e0bd4313da3801 100644 --- a/src/core/EventDispatcher.js +++ b/src/core/EventDispatcher.js @@ -4,7 +4,7 @@ function EventDispatcher() {} -EventDispatcher.prototype = { +Object.assign( EventDispatcher.prototype, { addEventListener: function ( type, listener ) { @@ -87,7 +87,7 @@ EventDispatcher.prototype = { } -}; +} ); export { EventDispatcher };