mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +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'});
|
|
});
|