mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -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';
|
||||
define(['app', 'Shared/FormatHelpers','backgrid'], function () {
|
||||
NzbDrone.Cells.AirDateCell = Backgrid.Cell.extend({
|
||||
className: "air-date-cell",
|
||||
className: 'air-date-cell',
|
||||
|
||||
render: function () {
|
||||
|
||||
this.$el.empty();
|
||||
var airDate = this.model.get(this.column.get("name"));
|
||||
var airDate = this.model.get(this.column.get('name'));
|
||||
this.$el.html(NzbDrone.Shared.FormatHelpers.DateHelper(airDate));
|
||||
return this;
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
|
||||
define(['app', 'Cells/NzbDroneCell'], function () {
|
||||
NzbDrone.Cells.EpisodeNumberCell = NzbDrone.Cells.NzbDroneCell.extend({
|
||||
|
||||
className: "episode-number-cell",
|
||||
className: 'episode-number-cell',
|
||||
|
||||
render: function () {
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
|
||||
define(['app','backgrid' ], function () {
|
||||
NzbDrone.Cells.EpisodeStatusCell = Backgrid.Cell.extend({
|
||||
|
@ -25,7 +25,7 @@ define(['app','backgrid' ], function () {
|
|||
}
|
||||
}
|
||||
|
||||
this.$el.html('<i class="{0}"/>'.format(icon));
|
||||
this.$el.html('<i class='{0}'/>'.format(icon));
|
||||
}
|
||||
|
||||
return this;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
|
||||
define(['app', 'Cells/NzbDroneCell'], function () {
|
||||
NzbDrone.Cells.EpisodeTitleCell = NzbDrone.Cells.NzbDroneCell.extend({
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
|
||||
define(['app', 'Shared/FormatHelpers','backgrid'], function () {
|
||||
NzbDrone.Cells.FileSizeCell = Backgrid.Cell.extend({
|
||||
|
||||
className: "file-size-cell",
|
||||
className: 'file-size-cell',
|
||||
|
||||
render: function () {
|
||||
var size = this.model.get(this.column.get("name"));
|
||||
var size = this.model.get(this.column.get('name'));
|
||||
this.$el.html(NzbDrone.Shared.FormatHelpers.FileSizeHelper(size));
|
||||
this.delegateEvents();
|
||||
return this;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
define(['app','backgrid'], function () {
|
||||
NzbDrone.Cells.IndexerCell = Backgrid.Cell.extend({
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
|
||||
define(['app','backgrid'], function () {
|
||||
NzbDrone.Cells.NzbDroneCell = Backgrid.Cell.extend({
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
define(['app', 'Cells/TemplatedCell'], function () {
|
||||
NzbDrone.Cells.QualityCell = NzbDrone.Cells.TemplatedCell.extend({
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
define(['app','Cells/NzbDroneCell'], function () {
|
||||
NzbDrone.Cells.RelativeDateCell = NzbDrone.Cells.NzbDroneCell.extend({
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
define(['app', 'Cells/TemplatedCell'], function () {
|
||||
NzbDrone.Cells.SeriesTitleCell = NzbDrone.Cells.TemplatedCell.extend({
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
|
||||
define(['app','Cells/NzbDroneCell'], function () {
|
||||
NzbDrone.Cells.TemplatedCell = NzbDrone.Cells.NzbDroneCell.extend({
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
|
||||
define(['app', 'Episode/Layout'], function () {
|
||||
NzbDrone.Cells.ToggleCell = Backgrid.Cell.extend({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue