ga-domready
v1.0.2
Published
domready wrapper just for convenience; no polyfill or ponyfill.
Downloads
6
Readme
#ga-domready
Convenient domready wrapper: Although native support of document.addEventListener('DOMContentLoaded') should be fine since IE9, using this module might be easier to write and read.
##Installation
npm install ga-domready --save##Usage
// Require module
var domready = require('ga-domready');
// Use like this
domready( function() {
// noop
});##Develop with Gulp
Use Git Flow, always work in develop branch.
- Install development dependencies:
npm install - Run
gulp watch - Work in
src/
Builds are now in dist/
