defb5c9ba2381eb5136cb67811d1491ffe8f0df02c82da1bcb1b6fc9daa74ed33ef83ce31c33bfb724f4425893ff8029a3d2f24dd84e5ca38ecf2e9c830f38 901 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. ## domReady
  2. It's easy. Works like this:
  3. ``` js
  4. domready(function () {
  5. // dom is loaded!
  6. })
  7. ```
  8. -------------------------
  9. ## Deprecation Notice
  10. 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.
  11. -------------------------
  12. ### Browser support
  13. * IE9+
  14. * Firefox 4+
  15. * Safari 3+
  16. * Chrome *
  17. * Opera *
  18. ### Building
  19. ``` sh
  20. npm install
  21. make
  22. open tests/test.html
  23. ```
  24. ### Including with Ender
  25. Don't already have [Ender](http://enderjs.com)? Install it like this:
  26. ``` sh
  27. npm install ender -g
  28. ```
  29. Include domready in your package:
  30. ``` sh
  31. ender add domready
  32. ```
  33. Then use it like this
  34. ``` js
  35. require('domready')(function () {
  36. $('body').html('<p>boosh</p>')
  37. })
  38. // or
  39. $(document).ready(function () {
  40. $('body').html('<p>boosh</p>')
  41. })
  42. ```