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,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 = '';
|
||||
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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;
|
||||
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
define([
|
||||
'app',
|
||||
'Release/Collection',
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
define(['app'], function () {
|
||||
NzbDrone.Release.Model = Backbone.Model.extend({
|
||||
/* mutators: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue