UI Cleanup - Updated root tree.

This commit is contained in:
Taloth Saldono
2015-02-13 22:06:34 +01:00
parent 70bfad4e6a
commit 29d9e3dadf
11 changed files with 181 additions and 166 deletions
+15 -17
View File
@@ -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' });