addEventListener, removeEventListener, dispatchEvent and DOMContentLoaded polyfill for IE8
npm install addeventlistener-with-dispatchaddEventListener and removeEventListener, but also polyfills dispatchEvent and the DOMContentLoaded event, whilst supporting custom events.
npm install addeventlistener-with-dispatch
bower install addeventlistener-with-dispatch
`
Build From Source
You can build from the source file(s) by cloning the repo and running the following npm commands from the command line
`
npm install
npm run build
`
Test
Run the following command to launch a web browser. __NB:__ As the code is aimed at polyfilling IE8 its advisable to run it against that.
`
npm test
``