From 5d1026ded22fca72a6b7acb69e6410dca4a43dc4 Mon Sep 17 00:00:00 2001 From: Keivan Beigi Date: Tue, 9 Apr 2013 17:46:42 -0700 Subject: [PATCH] removed old references to AddSeries/SearchResultModel, AddSeries/SearchResultCollection --- UI/.idea/misc.xml | 3 +++ UI/AddSeries/Existing/ImportSeriesView.js | 2 +- UI/AddSeries/New/SearchResultView.js | 2 +- package.json | 6 ++++-- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/UI/.idea/misc.xml b/UI/.idea/misc.xml index 1162f4382..5be062889 100644 --- a/UI/.idea/misc.xml +++ b/UI/.idea/misc.xml @@ -1,5 +1,8 @@ + + diff --git a/UI/AddSeries/Existing/ImportSeriesView.js b/UI/AddSeries/Existing/ImportSeriesView.js index 7cb4f5b27..cc77ceb0d 100644 --- a/UI/AddSeries/Existing/ImportSeriesView.js +++ b/UI/AddSeries/Existing/ImportSeriesView.js @@ -1,6 +1,6 @@ 'use strict'; define([ - 'app', 'AddSeries/RootFolders/RootFolderCollection', 'Quality/QualityProfileCollection', 'Shared/NotificationCollection', 'AddSeries/Existing/UnmappedFolderModel', 'AddSeries/SearchResultCollection', 'Series/SeriesModel'], function (app, rootFolders, qualityProfileCollection, notificationCollection) { + 'app', 'AddSeries/RootFolders/RootFolderCollection', 'Quality/QualityProfileCollection', 'Shared/NotificationCollection', 'AddSeries/Existing/UnmappedFolderModel', 'Series/SeriesModel'], function (app, rootFolders, qualityProfileCollection, notificationCollection) { NzbDrone.AddSeries.Existing.FolderMatchResultView = Backbone.Marionette.ItemView.extend({ template: 'AddSeries/SearchResultTemplate', diff --git a/UI/AddSeries/New/SearchResultView.js b/UI/AddSeries/New/SearchResultView.js index 16b0011fc..100ea6bb2 100644 --- a/UI/AddSeries/New/SearchResultView.js +++ b/UI/AddSeries/New/SearchResultView.js @@ -1,5 +1,5 @@ 'use strict'; -define(['app', 'Shared/NotificationCollection', 'AddSeries/SearchResultCollection', 'AddSeries/SearchResultModel', 'Series/SeriesCollection'], function (app, notificationCollection) { +define(['app', 'Shared/NotificationCollection', 'Series/SeriesCollection'], function (app, notificationCollection) { NzbDrone.AddSeries.New.SearchItemView = Backbone.Marionette.ItemView.extend({ diff --git a/package.json b/package.json index 954158a42..55b08dec9 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,6 @@ "readmeFilename": "readme.md", "dependencies": { "grunt": "*", - "grunt-cli": "*", "grunt-contrib-uglify": "*", "grunt-contrib-handlebars": "*", "grunt-contrib-watch": "*", @@ -25,5 +24,8 @@ "grunt-contrib-copy": "*", "grunt-wrap": "*", "grunt-curl": "*" - } + }, + "scripts": { + "preinstall": "npm install grunt-cli -g" +} }