1.0.2 • Published 10 years ago

ga-domready v1.0.2

Weekly downloads
-
License
MIT
Repository
bitbucket
Last release
10 years ago

#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.

See Caniuse DOMContentLoaded

##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/

1.0.2

10 years ago

1.0.0

10 years ago