Cross browser document ready helper. Supported by IE8+ and good browsers.
docReady( function() {
console.log("DOM is ready. Let's party");
});
Props to dperini/ContentLoaded for original code
Download doc-ready.js
Install with ๐ฆ Bower bower install doc-ready
Install with npm ๐ npm install desandro/doc-ready
Install with ๐ฉ component component install desandro/doc-ready
docReady is released under the MIT license.