Closed codering closed 7 years ago
"addEventListener/removeEventListener" may be a problem
@codering Yeah, if you want to use most.fromEvent
or @most/dom-event
, you'll need to polyfill add/removeEventListener
. I'm sure several exist, and google search would find what you need.
Just as a recommendation for events or other polyfill's we use https://qa.polyfill.io/v2/docs/ its a conditional cdn which only loads the polyfills you want and with the browser that needs them but if you want you could force those polyfills to always load.
For add/removeEventListener
: https://qa.polyfill.io/v2/docs/features/#Event
thanks @briancavalier @davidchase
Hi @codering. Most requires at least an ES5 environment, plus ES2015 Promise. You can probably find what you need to support IE8 over at es-shims. I'd guess that either es6-shim (which already includes a Promise polyfill), or es5-shim plus a Promise polyfill (like es6-promise, creed, or bluebird) would be a good place to start.
Hope that helps!