Skip to content

Instantly share code, notes, and snippets.

@mcavaliere
Created December 22, 2015 19:15
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/abde232e10777d69c9c3 to your computer and use it in GitHub Desktop.
Save mcavaliere/abde232e10777d69c9c3 to your computer and use it in GitHub Desktop.
// /javascripts/mycompany.js
var MyCompany = {};
// /javascripts/mycompany/widgets
MyCompany.Widgets = {};
MyCompany.Widgets.data1 = 123;
MyCompany.Widgets.func1 = function() {};
// /javascripts/mycompany/htmlutils.js
MyCompany.HtmlUtils = {};
MyCompany.HtmlUtils.data1 = 123;
MyCompany.HtmlUtils.func1 = function() {};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment