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

@@ -1,6 +1,7 @@
'use strict';
define(
[
'jquery',
'vent',
'reqres',
'marionette',
@@ -15,7 +16,7 @@ define(
'underscore',
'backstrech',
'Mixins/backbone.signalr.mixin'
], function (vent,reqres, Marionette, Backbone, EpisodeCollection, EpisodeFileCollection, SeasonCollection, SeasonCollectionView, InfoView, CommandController, LoadingView, _) {
], function ($,vent,reqres, Marionette, Backbone, EpisodeCollection, EpisodeFileCollection, SeasonCollection, SeasonCollectionView, InfoView, CommandController, LoadingView, _) {
return Marionette.Layout.extend({
itemViewContainer: '.x-series-seasons',

View File

@@ -54,7 +54,7 @@ define(
options = {};
}
options['data'] = { seriesId: this.seriesId };
options.data = { seriesId: this.seriesId };
return this.originalFetch.call(this, options);
}

View File

@@ -23,7 +23,7 @@ define(
options = {};
}
options['data'] = { seriesId: this.seriesId };
options.data = { seriesId: this.seriesId };
return this.originalFetch.call(this, options);
}

View File

@@ -2,6 +2,7 @@
define(
[
'marionette',
'backgrid',
'Series/Index/Posters/CollectionView',
'Series/Index/List/CollectionView',
'Series/Index/EmptyView',
@@ -16,8 +17,10 @@ define(
'Cells/SeriesStatusCell',
'Series/Index/FooterView',
'Series/Index/FooterModel',
'Shared/Toolbar/ToolbarLayout'
'Shared/Toolbar/ToolbarLayout',
'underscore'
], function (Marionette,
Backgrid,
PosterCollectionView,
ListCollectionView,
EmptyView,
@@ -32,7 +35,8 @@ define(
SeriesStatusCell,
FooterView,
FooterModel,
ToolbarLayout) {
ToolbarLayout,
_) {
return Marionette.Layout.extend({
template: 'Series/Index/SeriesIndexLayoutTemplate',