From 74961e1106d7a46f0f032b5361cf627cfe0dc247 Mon Sep 17 00:00:00 2001 From: shale Date: Tue, 21 Jul 2015 09:44:14 -0700 Subject: [PATCH] [Search] Starting on workers Starting to work on using web workers to do some of the work of GenericSearch. Changed bundle.json accordingly. --- platform/features/search/bundle.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/platform/features/search/bundle.json b/platform/features/search/bundle.json index 264dd5f68a..1913c5e0da 100644 --- a/platform/features/search/bundle.json +++ b/platform/features/search/bundle.json @@ -42,7 +42,7 @@ "provides": "searchService", "type": "provider", "implementation": "providers/GenericSearchProvider.js", - "depends": [ "objectService" ] + "depends": [ "$rootScope", "objectService", "workerService" ] }, { "provides": "searchService", @@ -55,6 +55,13 @@ "type": "aggregator", "implementation": "SearchAggregator.js" } + ], + "workers": [ + { + "key": "genericSearchWorker", + "scriptUrl": "workers/GenericSearchWorker.js", + "depends": [ "objectService" ] + } ] } } \ No newline at end of file