Skip to content

Instantly share code, notes, and snippets.

@greghaygood
Last active December 27, 2015 15:28
Show Gist options
  • Save greghaygood/7347409 to your computer and use it in GitHub Desktop.
Save greghaygood/7347409 to your computer and use it in GitHub Desktop.
var TwitterApi = (function(options) {
var shared = {};
var options = options || {};
function setupListeners() {
console.log('setupListeners()');
}
var init = function() {
console.log('init()');
};
shared.init = init;
return shared;
}());
MyTwitterApi.init();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment