Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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