mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-18 23:48:35 +02:00
24 lines
532 B
JavaScript
24 lines
532 B
JavaScript
|
define(
|
||
|
[
|
||
|
'marionette',
|
||
|
'Shared/Modal/ModalRegion'
|
||
|
], function (Marionette, ModalRegion) {
|
||
|
'use strict';
|
||
|
|
||
|
var Layout = Marionette.Layout.extend({
|
||
|
|
||
|
regions: {
|
||
|
navbarRegion: '#nav-region',
|
||
|
mainRegion : '#main-region'
|
||
|
},
|
||
|
|
||
|
initialize: function () {
|
||
|
this.addRegions({
|
||
|
modalRegion: ModalRegion
|
||
|
});
|
||
|
}
|
||
|
});
|
||
|
|
||
|
return new Layout({el: 'body'});
|
||
|
});
|