You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
681 B
26 lines
681 B
define(
|
|
[
|
|
'marionette',
|
|
'Shared/Modal/ModalRegion',
|
|
'Shared/ControlPanel/ControlPanelRegion'
|
|
], function (Marionette, ModalRegion, ControlPanelRegion) {
|
|
'use strict';
|
|
|
|
var Layout = Marionette.Layout.extend({
|
|
|
|
regions: {
|
|
navbarRegion : '#nav-region',
|
|
mainRegion : '#main-region'
|
|
},
|
|
|
|
initialize: function () {
|
|
this.addRegions({
|
|
modalRegion : ModalRegion,
|
|
controlPanelRegion: ControlPanelRegion
|
|
});
|
|
}
|
|
});
|
|
|
|
return new Layout({el: 'body'});
|
|
});
|