Rename _.indexBy to _.keyBy to avoid confusion with _.sortedIndexBy forms.

This commit is contained in:
John-David Dalton
2015-08-29 11:42:37 -07:00
parent cc0e91ac2f
commit b1d52ccd82
5 changed files with 110 additions and 142 deletions

View File

@@ -185,6 +185,8 @@
'Lookup falsy iterator'
],
'partition': [
'can reference the array index',
'Died on test #8',
'partition takes a context argument',
'function(a){[code]}'
],
@@ -317,6 +319,7 @@
'extendOwn': 'assign',
'findWhere': 'find',
'include': 'includes',
'indexBy': 'keyBy',
'inject': 'reduce',
'mapObject': 'mapValues',
'matcher': 'matches',