[Plugins] Use lodash API correctly

This commit is contained in:
Victor Woeltjen 2017-01-13 11:34:05 -08:00
parent 36b5197733
commit ed67866f45

View File

@ -33,7 +33,7 @@ define([
utcTimeSystem: 'platform/features/conductor/utcTimeSystem'
};
var plugins = _(bundleMap).map(function (pluginName, bundleName) {
var plugins = _.mapValues(bundleMap, function (bundleName, pluginName) {
return function (openmct) {
openmct.legacyRegistry.enable(bundleName);
};