Callback when the document has loaded.
$ component install ianstormtaylor/on-load
var onLoad = require('on-load');
onLoad(function () {
console.log('load');
});
Call a handler
when the document is loaded, calling on next tick if the document is already loaded.
MIT