mirror of
https://github.com/nasa/openmct.git
synced 2025-02-21 09:52:04 +00:00
[Plugins] Use lodash API correctly
This commit is contained in:
parent
36b5197733
commit
ed67866f45
@ -33,7 +33,7 @@ define([
|
|||||||
utcTimeSystem: 'platform/features/conductor/utcTimeSystem'
|
utcTimeSystem: 'platform/features/conductor/utcTimeSystem'
|
||||||
};
|
};
|
||||||
|
|
||||||
var plugins = _(bundleMap).map(function (pluginName, bundleName) {
|
var plugins = _.mapValues(bundleMap, function (bundleName, pluginName) {
|
||||||
return function (openmct) {
|
return function (openmct) {
|
||||||
openmct.legacyRegistry.enable(bundleName);
|
openmct.legacyRegistry.enable(bundleName);
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user