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

View file

@ -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 () {

View file

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

View file

@ -1,4 +1,4 @@
"use strict";
'use strict';
define(['app', 'Cells/NzbDroneCell'], function () {
NzbDrone.Cells.EpisodeTitleCell = NzbDrone.Cells.NzbDroneCell.extend({

View file

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

View file

@ -1,4 +1,4 @@
"use strict";
'use strict';
define(['app','backgrid'], function () {
NzbDrone.Cells.IndexerCell = Backgrid.Cell.extend({

View file

@ -1,4 +1,4 @@
"use strict";
'use strict';
define(['app','backgrid'], function () {
NzbDrone.Cells.NzbDroneCell = Backgrid.Cell.extend({

View file

@ -1,4 +1,4 @@
"use strict";
'use strict';
define(['app', 'Cells/TemplatedCell'], function () {
NzbDrone.Cells.QualityCell = NzbDrone.Cells.TemplatedCell.extend({

View file

@ -1,4 +1,4 @@
"use strict";
'use strict';
define(['app','Cells/NzbDroneCell'], function () {
NzbDrone.Cells.RelativeDateCell = NzbDrone.Cells.NzbDroneCell.extend({

View file

@ -1,4 +1,4 @@
"use strict";
'use strict';
define(['app', 'Cells/TemplatedCell'], function () {
NzbDrone.Cells.SeriesTitleCell = NzbDrone.Cells.TemplatedCell.extend({

View file

@ -1,4 +1,4 @@
"use strict";
'use strict';
define(['app','Cells/NzbDroneCell'], function () {
NzbDrone.Cells.TemplatedCell = NzbDrone.Cells.NzbDroneCell.extend({

View file

@ -1,4 +1,4 @@
"use strict";
'use strict';
define(['app', 'Episode/Layout'], function () {
NzbDrone.Cells.ToggleCell = Backgrid.Cell.extend({