added jshint

This commit is contained in:
kayone
2013-11-10 20:09:11 -08:00
parent 9536c6c1bb
commit 47d924cff3
30 changed files with 177 additions and 127 deletions

View File

@@ -3,8 +3,9 @@
define(
[
'Cells/NzbDroneCell',
'Shared/FormatHelpers'
], function (NzbDroneCell, FormatHelpers) {
'Shared/FormatHelpers',
'underscore'
], function (NzbDroneCell, FormatHelpers, _) {
return NzbDroneCell.extend({
className: 'episode-number-cell',

View File

@@ -2,8 +2,9 @@
define(
[
'backgrid'
], function (Backgrid) {
'backgrid',
'backbone'
], function (Backgrid, Backbone) {
return Backgrid.Cell.extend({
_originalInit: Backgrid.Cell.prototype.initialize,
@@ -15,8 +16,8 @@ define(
this.listenTo(this.model, 'change', this._refresh);
if (this._onEdit) {
this.listenTo(this.model, "backgrid:edit", function (model, column, cell, editor) {
if (column.get("name") == this.column.get("name")) {
this.listenTo(this.model, 'backgrid:edit', function (model, column, cell, editor) {
if (column.get('name') === this.column.get('name')) {
this._onEdit(model, column, cell, editor);
}
});

View File

@@ -2,8 +2,9 @@
define(
[
'backgrid',
'Quality/QualityProfileCollection'
], function (Backgrid, QualityProfileCollection) {
'Quality/QualityProfileCollection',
'underscore'
], function (Backgrid, QualityProfileCollection,_) {
return Backgrid.Cell.extend({
className: 'quality-profile-cell',