Closed mwebbers closed 8 years ago
@mwebbers thanks a lot for your pull-request.
@randrianov np, i just noticed i only updated the src version. The minified version needs to be refreshed. Also I don't know the browser support of this repository, but the addEventListener() function works from IE9. You can create a fallback to attachEvent(), if you want to support IE8
window.onload can only be set once. This means that the last script that sets windows.onload is initialised. To make sure this library can work together with other libraries we changed we added the callback to the event listener.