1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-23 22:25:14 -04:00

Addressing jshint warnings (#1050)

* Cleaning up some jsLiniting problems

* fix jshint issue with variablle declaration

This shouldn't be an issue because of hoisting but, jshint is finicky.
This commit is contained in:
Bill Szeliga
2017-03-07 22:04:25 -05:00
committed by Devin Buhl
parent 961a6d89a4
commit af2b5c2f1c
19 changed files with 61 additions and 89 deletions
+5 -5
View File
@@ -11,7 +11,7 @@ module.exports = NzbDroneController.extend({
//this.route('', this.series);
this.route('series', this.series);
this.route('series/:query', this.seriesDetails);
this._originalInit.apply(this, arguments);
},
@@ -21,13 +21,13 @@ module.exports = NzbDroneController.extend({
},
seriesDetails : function(query) {
console.warn(AppLayout.mainRegion)
console.warn(AppLayout.mainRegion);
var series = SeriesCollection.where({ titleSlug : query });
if (series.length !== 0) {
var targetSeries = series[0];
this.setTitle(targetSeries.get('title'));
this.showMainRegion(new SeriesDetailsLayout({ model : targetSeries }));
} else {