1.0.2 • Published 10 years ago
ga-domready v1.0.2
#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/