Skip to content

Instantly share code, notes, and snippets.

@TheSavior
Created June 11, 2015 17:11
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 TheSavior/5cbe6e7ac489969430d4 to your computer and use it in GitHub Desktop.
Save TheSavior/5cbe6e7ac489969430d4 to your computer and use it in GitHub Desktop.
CommonJS Public / Private State Other
var page = require('./page');
assert.equal(typeof(page.onDomLoaded), 'function');
assert.equal(typeof(buttonClick), 'undefined');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment