mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-20 21:54:25 -04:00
UI Cleanup - Updated root tree.
This commit is contained in:
+15
-17
@@ -3,20 +3,18 @@ var ModalRegion = require('./Shared/Modal/ModalRegion');
|
||||
var FileBrowserModalRegion = require('./Shared/FileBrowser/FileBrowserModalRegion');
|
||||
var ControlPanelRegion = require('./Shared/ControlPanel/ControlPanelRegion');
|
||||
|
||||
module.exports = (function(){
|
||||
'use strict';
|
||||
var Layout = Marionette.Layout.extend({
|
||||
regions : {
|
||||
navbarRegion : '#nav-region',
|
||||
mainRegion : '#main-region'
|
||||
},
|
||||
initialize : function(){
|
||||
this.addRegions({
|
||||
modalRegion : ModalRegion,
|
||||
fileBrowserModalRegion : FileBrowserModalRegion,
|
||||
controlPanelRegion : ControlPanelRegion
|
||||
});
|
||||
}
|
||||
});
|
||||
return new Layout({el : 'body'});
|
||||
}).call(this);
|
||||
var Layout = Marionette.Layout.extend({
|
||||
regions : {
|
||||
navbarRegion : '#nav-region',
|
||||
mainRegion : '#main-region'
|
||||
},
|
||||
|
||||
initialize : function() {
|
||||
this.addRegions({
|
||||
modalRegion : ModalRegion,
|
||||
fileBrowserModalRegion : FileBrowserModalRegion,
|
||||
controlPanelRegion : ControlPanelRegion
|
||||
});
|
||||
}
|
||||
});
|
||||
module.exports = new Layout({ el : 'body' });
|
||||
Reference in New Issue
Block a user