Document ready listener for modern browsers
$ npm install --save document-ready
varready=require('document-ready')ready(function(){//=> DOM is ready})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.
MIT © Ben Drucker