Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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