Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (13 sloc) 334 Bytes

domready

cross-browser dom ready function. Mostly copied from https://github.com/freelancephp/DOMReady and (not yet) fully tested with IE and older.

Installation

$ component install bmcmahen/domready

Use

var r = require('bmcmahen/domready');
r(function(){
	// dom is ready
});

License

MIT