Skip to content

Instantly share code, notes, and snippets.

View agundermann's full-sized avatar

Alexander Gundermann agundermann

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