Remove unnecessary context from eventtarget

pull/36/head
Juanjo Diaz 6 years ago committed by Lauri Kasanen
parent 1ff792cf4b
commit 5964156a6f

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

Loading…
Cancel
Save