mirror of
https://github.com/nasa/openmct.git
synced 2025-03-24 04:55:21 +00:00
[Search] Removed unnecissary dependency
Removed an unnecissary parameter from the search aggregator ($q).
This commit is contained in:
parent
80e0bd875a
commit
15a9d2380c
@ -53,8 +53,7 @@
|
||||
{
|
||||
"provides": "searchService",
|
||||
"type": "aggregator",
|
||||
"implementation": "SearchAggregator.js",
|
||||
"depends": [ "$q" ]
|
||||
"implementation": "SearchAggregator.js"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -37,7 +37,7 @@ define(
|
||||
* @param {SearchProvider[]} providers the search providers to be
|
||||
* aggregated
|
||||
*/
|
||||
function SearchAggregator($q, providers) {
|
||||
function SearchAggregator(providers) {
|
||||
|
||||
function getPromisedResults(resultsPromises, promiseIndex, finalResults) {
|
||||
if (promiseIndex >= resultsPromises.length) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user