attachevent

attachevent polyfill

attachevent

Polyfil for event handling when addEventListener isn't available

install

With npm do:

npm install attachevent

With browserify

var attachevent = require('attachevent');
 
attachevent.attachEvent(window, 'load', function load() {
  attachevent.detachEvent(load);
});
 

license

MIT