Skip to content

Instantly share code, notes, and snippets.

@jongacnik
Last active August 29, 2015 14:04
Show Gist options
  • Save jongacnik/66efa0f44564bb9fe6e1 to your computer and use it in GitHub Desktop.
Save jongacnik/66efa0f44564bb9fe6e1 to your computer and use it in GitHub Desktop.
Unit 2.0
/**
* Unit
*/
Site.Unit = function() {
var Data = {
setCache : function(){
}
};
var Self = {
load : function() {
Data.setCache();
},
unload : function() {
},
events : function() {
},
};
return {
load : Self.load,
unload : Self.unload
};
}();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment