Skip to content

Instantly share code, notes, and snippets.

@jperrine
Created November 1, 2011 18:51
Show Gist options
  • Save jperrine/1331515 to your computer and use it in GitHub Desktop.
Save jperrine/1331515 to your computer and use it in GitHub Desktop.
var ApplicationNamespace = function() {};
ApplicationNamespace.FurtherNamespace = (function() {
// private stuff
return {
publicFunction: somePrivateFunction,
init: function(args) {
},
// etc
};
})();
ApplicationNamespace.FurtherNamespace.init('blah!');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment