Package Exports
- document-ready
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (document-ready) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
document-ready 
Document ready listener for modern browsers
Install
$ npm install --save document-readyUsage
var ready = require('document-ready')
ready(function () {
//=> DOM is ready
})API
ready(callback) -> undefined
callback
Required
Type: function
A function to call once the DOM has loaded. If the DOM is already loaded, the callback will be called on the next tick.
License
MIT © Ben Drucker