Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 737 Bytes

README.md

File metadata and controls

40 lines (29 loc) · 737 Bytes

domReady

It's easy. Works like this:

domReady(function () {
  // dom is loaded!
});

Browser support

  • IE6,7,8,9
  • Firefox 2,3,4
  • Safari 3,4,5
  • Chrome 1-10
  • Opera

Building

git clone git://github.com/ded/domready.git
cd domready
git submodule update --init
make

Including with Ender

Don't already have Ender? Ender relies on Node, and NPM. Install it like this:

npm install ender

Once you're good with that. Include domready in your package:

ender -b domready[,a,b,c]

With Ender:

$.domReady(function () {
  $(document.body).html('<p>boosh</p>');
});