updated jshint to 2.1.3

single quotes
This commit is contained in:
kay.one 2013-06-21 23:24:24 -07:00
commit 769331d45d
120 changed files with 233 additions and 218 deletions

View file

@ -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'
}
},

View file

@ -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;

View file

@ -1,4 +1,4 @@
"use strict";
'use strict';
define([
'app',
'History/Collection',

View file

@ -1,4 +1,4 @@
"use strict";
'use strict';
define(['app','Series/SeriesModel', 'Series/EpisodeModel'], function () {
NzbDrone.History.Model = Backbone.Model.extend({
mutators: {