mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-12 08:07:10 -07:00
more javascript coding rules in webstorm.
This commit is contained in:
parent
6d6b236fd4
commit
754f9c5134
7 changed files with 121 additions and 5 deletions
|
@ -1,4 +1,5 @@
|
|||
define(['app', 'Shared/ModalRegion', 'AddSeries/AddSeriesLayout',
|
||||
"use strict";
|
||||
define(['app', 'Shared/ModalRegion', 'AddSeries/AddSeriesLayout',
|
||||
'Series/Index/SeriesIndexCollectionView', 'Upcoming/UpcomingCollectionView',
|
||||
'Calendar/CalendarCollectionView', 'Shared/NotificationView',
|
||||
'Shared/NotFoundView', 'MainMenuView', 'HeaderView',
|
||||
|
@ -13,7 +14,7 @@
|
|||
NzbDrone.mainRegion.show(new NzbDrone.AddSeries.AddSeriesLayout(this, action, query));
|
||||
},
|
||||
|
||||
series: function (action, query) {
|
||||
series: function () {
|
||||
this.setTitle('NzbDrone');
|
||||
NzbDrone.mainRegion.show(new NzbDrone.Series.Index.SeriesIndexCollectionView());
|
||||
},
|
||||
|
@ -62,7 +63,7 @@
|
|||
success: function (missing) {
|
||||
NzbDrone.mainRegion.show(new NzbDrone.Missing.MissingCollectionView(this, action, query, missing));
|
||||
}
|
||||
})
|
||||
});
|
||||
},
|
||||
|
||||
notFound: function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue