Skip to content

Instantly share code, notes, and snippets.

Avatar

Alexander Gundermann agundermann

View GitHub Profile
@agundermann
agundermann / gist:5653967
Created May 26, 2013 — forked from FiNGAHOLiC/gist:1605851
JavaScript: Module
View gist:5653967
// http://speakerdeck.com/u/addyosmani/p/large-scale-javascript-application-architecture
function library(module){
$(function(){
if(module.init){
module.init();
};
});
return module;
};