Skip to content

Commit

Permalink
change Set.remove to Set.delete
Browse files Browse the repository at this point in the history
  • Loading branch information
donavon committed Mar 15, 2019
1 parent d971e3e commit 41666a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/workbox-window/utils/EventTargetShim.mjs
Expand Up @@ -36,7 +36,7 @@ class EventTargetShim {
* @param {Function} listener
*/
removeEventListener(type, listener) {
this._getEventListenersByType(type).remove(listener);
this._getEventListenersByType(type).delete(listener);
}

/**
Expand Down

0 comments on commit 41666a8

Please sign in to comment.