mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
updated jshint to 2.1.3
single quotes
This commit is contained in:
parent
3c686808f2
commit
769331d45d
120 changed files with 233 additions and 218 deletions
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
define(['app', 'History/Model', 'backbone.pageable'], function (App, HistoryModel, PageableCollection) {
|
||||
NzbDrone.History.Collection = PageableCollection.extend({
|
||||
url : NzbDrone.Constants.ApiRoot + '/history',
|
||||
|
@ -6,7 +6,7 @@ define(['app', 'History/Model', 'backbone.pageable'], function (App, HistoryMode
|
|||
|
||||
state: {
|
||||
pageSize: 15,
|
||||
sortKey: "date",
|
||||
sortKey: 'date',
|
||||
order: 1
|
||||
},
|
||||
|
||||
|
@ -14,11 +14,11 @@ define(['app', 'History/Model', 'backbone.pageable'], function (App, HistoryMode
|
|||
totalPages: null,
|
||||
totalRecords: null,
|
||||
pageSize: 'pageSize',
|
||||
sortKey: "sortKey",
|
||||
order: "sortDir",
|
||||
sortKey: 'sortKey',
|
||||
order: 'sortDir',
|
||||
directions: {
|
||||
"-1": "asc",
|
||||
"1": "desc"
|
||||
'-1': 'asc',
|
||||
'1': 'desc'
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
|
||||
define(['app', 'Cells/NzbDroneCell' ], function () {
|
||||
NzbDrone.History.EventTypeCell = NzbDrone.Cells.NzbDroneCell.extend({
|
||||
|
@ -32,7 +32,7 @@ define(['app', 'Cells/NzbDroneCell' ], function () {
|
|||
|
||||
}
|
||||
|
||||
this.$el.html('<i class="{0}" title="{1}"/>'.format(icon, toolTip));
|
||||
this.$el.html('<i class='{0}' title='{1}'/>'.format(icon, toolTip));
|
||||
}
|
||||
|
||||
return this;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
define([
|
||||
'app',
|
||||
'History/Collection',
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
define(['app','Series/SeriesModel', 'Series/EpisodeModel'], function () {
|
||||
NzbDrone.History.Model = Backbone.Model.extend({
|
||||
mutators: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue