App.js 411 B

12345678910111213
  1. define([ "marionette" ], function(Marionette) {
  2. var App = new Marionette.Application();
  3. return App.addRegions({
  4. rHeader: "#header",
  5. rSideNav: "#sideNav-wrapper",
  6. rNContent: "#new-page-wrapper",
  7. rNHeader: "#new-header",
  8. rContent: "#page-wrapper",
  9. rFooter: "#footer"
  10. }), App.addInitializer(function() {
  11. Backbone.history.start();
  12. }), App;
  13. });