mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 21:13:28 -07:00
cleaned up some jslint errors
This commit is contained in:
parent
2683a3ca12
commit
50fd2f77b1
22 changed files with 65 additions and 42 deletions
|
@ -1,8 +1,8 @@
|
|||
'use strict';
|
||||
|
||||
define(['app'], function (app) {
|
||||
define(['app'], function () {
|
||||
|
||||
NzbDrone.Series.Index.EmptyView = Backbone.Marionette.CompositeView.extend({
|
||||
template: 'Series/Index/EmptyTemplate'
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
"use strict";
|
||||
Backgrid.AirDateCell = Backgrid.Cell.extend({
|
||||
className: "air-date-cell",
|
||||
|
||||
|
@ -9,4 +10,4 @@ Backgrid.AirDateCell = Backgrid.Cell.extend({
|
|||
|
||||
return this;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
"use strict";
|
||||
Backgrid.SeriesStatusCell = Backgrid.Cell.extend({
|
||||
className: "series-status-cell",
|
||||
|
||||
|
@ -19,4 +20,4 @@ Backgrid.SeriesStatusCell = Backgrid.Cell.extend({
|
|||
|
||||
return this;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
define(['app'], function () {
|
||||
"use strict";
|
||||
define(['app'], function () {
|
||||
NzbDrone.Series.SeasonModel = Backbone.Model.extend({
|
||||
|
||||
mutators: {
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
define(['app', 'Series/SeriesModel'], function () {
|
||||
"use strict";
|
||||
define(['app', 'Series/SeriesModel'], function () {
|
||||
NzbDrone.Series.SeriesCollection = Backbone.Collection.extend({
|
||||
url : NzbDrone.Constants.ApiRoot + '/series',
|
||||
model: NzbDrone.Series.SeriesModel,
|
||||
|
@ -10,4 +11,4 @@
|
|||
return model.get(this.defaultSortKey);
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -47,11 +47,7 @@ define(['app', 'Quality/QualityProfileCollection', 'AddSeries/RootFolders/RootFo
|
|||
return "http://trakt.tv/show/" + this.get('titleSlug');
|
||||
},
|
||||
isContinuing : function () {
|
||||
if (this.get('status') === 0) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
return this.get('status') === 0;
|
||||
},
|
||||
statusText : function () {
|
||||
if (this.get('status') === 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue