mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
moved add series to require.
This commit is contained in:
parent
24c77b4047
commit
72772bed5a
16 changed files with 181 additions and 185 deletions
15
UI/app.js
15
UI/app.js
|
@ -148,10 +148,9 @@ define(
|
|||
[
|
||||
'marionette',
|
||||
'shared/modal/region',
|
||||
'router',
|
||||
'Instrumentation/StringFormat',
|
||||
'Instrumentation/ErrorHandler'
|
||||
], function (Marionette, ModalRegion, Router, RouteBinder) {
|
||||
], function (Marionette, ModalRegion) {
|
||||
|
||||
require(
|
||||
[
|
||||
|
@ -175,12 +174,6 @@ define(
|
|||
Details: {}
|
||||
};
|
||||
|
||||
window.NzbDrone.AddSeries = {
|
||||
New : {},
|
||||
Existing : {},
|
||||
RootFolders: {}
|
||||
};
|
||||
|
||||
window.NzbDrone.Episode = {
|
||||
Search : {},
|
||||
Summary : {},
|
||||
|
@ -236,16 +229,12 @@ define(
|
|||
window.NzbDrone.start();
|
||||
|
||||
|
||||
NzbDrone.Router = new Router();
|
||||
Backbone.history.start({ pushState: true });
|
||||
|
||||
RouteBinder.bind(NzbDrone.Router);
|
||||
//NzbDrone.footerRegion.show(new FooterView());
|
||||
|
||||
|
||||
window.require(
|
||||
[
|
||||
'Routing'
|
||||
'Router'
|
||||
]);
|
||||
|
||||
return NzbDrone;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue