Skip to content

Instantly share code, notes, and snippets.

@gauravtiwari
Created February 19, 2017 12:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gauravtiwari/367245b076f8ecb3ba8a2b85b018c371 to your computer and use it in GitHub Desktop.
Save gauravtiwari/367245b076f8ecb3ba8a2b85b018c371 to your computer and use it in GitHub Desktop.
Counter index initializer
// Initialize the counter code when DOM is ready
import './style.sass';
import counter from './counter';
document.addEventListener('DOMContentLoaded', () => {
counter.initialize();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment