polyfill for event handlers
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
index.js
package.json
readme.markdown

readme.markdown

This repository is no longer maintained.

attachevent

Polyfil for event handling when addEventListener isn't available

install

With npm do:

npm install attachevent

Usage

With browserify

var attachevent = require('attachevent');

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

license

MIT