1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00
Sonarr/src/UI/AppLayout.js
2013-12-09 08:12:12 -08:00

26 lines
681 B
JavaScript

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'});
});