xonecas.io
142
St

startsInvasion / files

startsInvasion / libs / node_modules / domready / README.md

737 bytes
1domReady
2--------
3It's easy. Works like this:
4
5    domReady(function () {
6      // dom is loaded!
7    });
8
9Browser support
10---------------
11
12  * IE6,7,8,9
13  * Firefox 2,3,4
14  * Safari 3,4,5
15  * Chrome 1-10
16  * Opera
17
18Building
19--------
20
21    git clone git://github.com/ded/domready.git
22    cd domready
23    git submodule update --init
24    make
25
26Including with Ender
27--------------------
28Don't already have [Ender](http://ender.no.de)? Ender relies on [Node](http://nodejs.org), and [NPM](http://npmjs.org). Install it like this:
29
30    npm install ender
31
32Once you're good with that. Include domready in your package:
33
34    ender -b domready[,a,b,c]
35
36With Ender:
37
38    $.domReady(function () {
39      $(document.body).html('<p>boosh</p>');
40    });