Skip to content

Instantly share code, notes, and snippets.

@mcavaliere
Created December 22, 2015 19:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcavaliere/58fd8ddd76da26fc5f6b to your computer and use it in GitHub Desktop.
Save mcavaliere/58fd8ddd76da26fc5f6b to your computer and use it in GitHub Desktop.
var MyCompany = {
Widgets: {
data1: 123,
func1: function() {}
},
HtmlUtils: {
data1: 123,
func1: function() {}
}
}
// Usage:
// MyCompany.Widgets.data1;
// MyCompany.HtmlUtils.func1();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment