Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// Top level. All reusable code goes somewhere under this main object.
var MyApp = {};
// Widgets, and any components that manipulate the DOM.
MyApp.UI = {};
// Classes that have reusable logic or calculation.
MyApp.Lib = {};
// Custom code that works with external javascript libraries in a reusable way.
MyApp.Vendor = {};
// Generic utilities.
MyApp.Utils = {};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment