mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
UI dependency graph cleanup
This commit is contained in:
23
src/UI/AppLayout.js
Normal file
23
src/UI/AppLayout.js
Normal file
@@ -0,0 +1,23 @@
|
||||
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'});
|
||||
});
|
Reference in New Issue
Block a user