mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 16:47:49 +00:00
Rename _.indexBy to _.keyBy to avoid confusion with _.sortedIndexBy forms.
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
|
||||
return function(_) {
|
||||
lodash.defaultsDeep(_, { 'templateSettings': lodash.templateSettings });
|
||||
lodash.mixin(_ , { 'indexBy': lodash.keyBy });
|
||||
lodash.mixin(_, lodash.pick(lodash, lodash.difference(lodash.functions(lodash), lodash.functions(_))));
|
||||
};
|
||||
}());
|
||||
|
||||
Reference in New Issue
Block a user