Remove unnecessary context from eventtarget

This commit is contained in:
Juanjo Diaz 2019-02-16 23:34:13 +02:00
parent fe5974a740
commit 667f3cc20e
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ export default class EventTargetMixin {
return true; return true;
} }
this._listeners.get(event.type) this._listeners.get(event.type)
.forEach(callback => callback.call(this, event), this); .forEach(callback => callback.call(this, event));
return !event.defaultPrevented; return !event.defaultPrevented;
} }
} }