Skip to content

Instantly share code, notes, and snippets.

@code-for-coffee
Last active August 29, 2015 14:12
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 code-for-coffee/f16270321e3d01c61c60 to your computer and use it in GitHub Desktop.
Save code-for-coffee/f16270321e3d01c61c60 to your computer and use it in GitHub Desktop.
Backbone Enterprise Book Ch2.1
/* Create namespace objects for each Backbone object type */
App = new Object() || {};
App.Models = new Object() || {};
App.Views = new Object() || {};
App.Routers = new Object() || {};
App.Collections = new Object() || {};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment