Skip to content

Instantly share code, notes, and snippets.

@ryanmarshall
Last active August 25, 2015 21:36
Show Gist options
  • Save ryanmarshall/3da30a7d353a4bd88913 to your computer and use it in GitHub Desktop.
Save ryanmarshall/3da30a7d353a4bd88913 to your computer and use it in GitHub Desktop.
var Generator = {
loaded: false,
init: function(e) {
if (this.loaded == false) {
this.loaded = true;
this.setup();
}
},
setup: function() {
console.log('setup');
}
};
(function() {
Generator.init();
})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment