IE11 has an incomplete and buggy implementation of Element#addEventListener, which is why I have added event-listener.js in #2 to make this addon just work™️ in IE11.
This polyfill is of course not required, if the targeted browsers do not include IE11.
We should add a config option to allow excluding the polyfill from the build. Ideally this option would by default depend on the support for { once: true } in the browsers defined in config/tragets.js, so that users don't need to configure this manually.
IE11 has an incomplete and buggy implementation of
Element#addEventListener, which is why I have addedevent-listener.jsin #2 to make this addon just work™️ in IE11.This polyfill is of course not required, if the targeted browsers do not include IE11.
We should add a config option to allow excluding the polyfill from the build. Ideally this option would by default depend on the support for
{ once: true }in the browsers defined inconfig/tragets.js, so that users don't need to configure this manually.