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,12 +1,12 @@
"use strict";
'use strict';
require(['app', 'backgrid'], function () {
NzbDrone.Release.ApprovalStatusCell = Backgrid.Cell.extend({
className: "approval-status-cell",
className: 'approval-status-cell',
render: function () {
var rejections = this.model.get(this.column.get("name"));
var rejections = this.model.get(this.column.get('name'));
var result = '';

View file

@ -1,4 +1,4 @@
"use strict";
'use strict';
define(['app', 'Release/Model', 'backbone.pageable'], function (app, SeriesModel, PagableCollection) {
NzbDrone.Release.Collection = PagableCollection.extend({
url : NzbDrone.Constants.ApiRoot + '/release',

View file

@ -1,9 +1,9 @@
"use strict";
'use strict';
define(['app','backgrid'], function () {
NzbDrone.Release.DownloadReportCell = Backgrid.Cell.extend({
className: "download-report-cell",
className: 'download-report-cell',
events: {
'click': '_onClick'
@ -13,16 +13,16 @@ define(['app','backgrid'], function () {
var self = this;
this.$el.html('<i class ="icon-spinner icon-spin" />');
this.$el.html('<i class ='icon-spinner icon-spin' />');
this.model.save()
.always(function () {
self.$el.html('<i class ="icon-download-alt" />');
self.$el.html('<i class ='icon-download-alt' />');
});
},
render: function () {
this.$el.html('<i class ="icon-download-alt" />');
this.$el.html('<i class ='icon-download-alt' />');
return this;
}

View file

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

View file

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