From 8169a6bd4117bb44a48fc6ab4130f2a3f363a02a Mon Sep 17 00:00:00 2001 From: kayone Date: Tue, 8 Oct 2013 23:28:37 -0700 Subject: [PATCH] Fixed: error when showing episode list --- src/UI/Cells/EpisodeStatusCell.js | 4 ++-- src/UI/Settings/Indexers/Collection.js | 3 +-- src/UI/Settings/Notifications/Collection.js | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/UI/Cells/EpisodeStatusCell.js b/src/UI/Cells/EpisodeStatusCell.js index 2e9a69453..f03ad12ee 100644 --- a/src/UI/Cells/EpisodeStatusCell.js +++ b/src/UI/Cells/EpisodeStatusCell.js @@ -8,7 +8,7 @@ define( 'History/Queue/QueueCollection', 'moment', 'Shared/FormatHelpers' - ], function (Reqres, _, NzbDroneCell, QueueCollection, Moment, FormatHelpers) { + ], function (reqres, _, NzbDroneCell, QueueCollection, Moment, FormatHelpers) { return NzbDroneCell.extend({ className: 'episode-status-cell', @@ -33,7 +33,7 @@ define( var hasFile = this.model.get('hasFile'); if (hasFile) { - var episodeFile = Reqres.request(reqres.Requests.GetEpisodeFileById, this.model.get('episodeFileId')); + var episodeFile = reqres.request(reqres.Requests.GetEpisodeFileById, this.model.get('episodeFileId')); this.listenTo(episodeFile, 'change', this._refresh); diff --git a/src/UI/Settings/Indexers/Collection.js b/src/UI/Settings/Indexers/Collection.js index 6d83b92ec..fc20e436a 100644 --- a/src/UI/Settings/Indexers/Collection.js +++ b/src/UI/Settings/Indexers/Collection.js @@ -1,5 +1,4 @@ - -'use strict'; +'use strict'; define( [ 'backbone', diff --git a/src/UI/Settings/Notifications/Collection.js b/src/UI/Settings/Notifications/Collection.js index 6022de53a..a045020ab 100644 --- a/src/UI/Settings/Notifications/Collection.js +++ b/src/UI/Settings/Notifications/Collection.js @@ -1,7 +1,7 @@ 'use strict'; define( [ - 'Backbone', + 'backbone', 'Settings/Notifications/Model' ], function (Backbone, NotificationModel) { return Backbone.Collection.extend({