2017 © Pedro Peláez
 

library domready

image

ded/domready

  • Monday, March 12, 2018
  • by akiyatkin
  • Repository
  • 1 Watchers
  • 0 Stars
  • 431 Installations
  • JavaScript
  • 10 Dependents
  • 0 Suggesters
  • 123 Forks
  • 0 Open issues
  • 5 Versions
  • 2 % Grown

The README.md

domReady

It's easy. Works like this:, (*1)

``` js domready(function () { // dom is loaded! }), (*2)


------------------------- ## Deprecation Notice Compatibility with `IE6`, `IE7`, and `IE8` has been fully dropped. If your application requires this level of support, please use the [`0.3.0`](https://github.com/ded/domready/tree/v0.3.0) release. ------------------------- ### Browser support * IE9+ * Firefox 4+ * Safari 3+ * Chrome * * Opera * ### Building ``` sh npm install make open tests/test.html

Including with Ender

Don't already have Ender? Install it like this:, (*3)

``` sh npm install ender -g, (*4)


Include domready in your package: ``` sh ender add domready

Then use it like this, (*5)

``` js require('domready')(function () { $('body').html(', (*6)

boosh, (*7)

') }), (*8)

// or, (*9)

$(document).ready(function () { $('body').html(', (*10)

boosh, (*11)

') }) ```, (*12)

The Versions

12/03 2018

dev-master

9999999-dev https://github.com/ded/domready

  Sources   Download

MIT

12/03 2018
30/04 2017
25/04 2017
15/03 2016