App.js 310 B

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