mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 00:57:48 +00:00
Make _.unzip and alias of _.zip.
Former-commit-id: fca00001ad850c250f9883572c4dce7b41dde88d
This commit is contained in:
8
build.js
8
build.js
@@ -55,7 +55,8 @@
|
||||
'select': 'filter',
|
||||
'tail': 'rest',
|
||||
'take': 'first',
|
||||
'unique': 'uniq'
|
||||
'unique': 'uniq',
|
||||
'unzip': 'zip'
|
||||
};
|
||||
|
||||
/** Used to associate real names with their aliases */
|
||||
@@ -74,6 +75,7 @@
|
||||
'rest': ['drop', 'tail'],
|
||||
'some': ['any'],
|
||||
'uniq': ['unique'],
|
||||
'zip': ['unzip'],
|
||||
'zipObject': ['object']
|
||||
};
|
||||
|
||||
@@ -179,13 +181,12 @@
|
||||
'union': ['basicFlatten', 'basicUniq'],
|
||||
'uniq': ['basicUniq', 'overloadWrapper'],
|
||||
'uniqueId': [],
|
||||
'unzip': ['max', 'pluck'],
|
||||
'value': ['basicEach', 'forOwn', 'isArray', 'lodash', 'wrapperValueOf', 'lodashWrapper'],
|
||||
'values': ['keys'],
|
||||
'where': ['filter'],
|
||||
'without': ['difference'],
|
||||
'wrap': [],
|
||||
'zip': ['unzip'],
|
||||
'zip': ['max', 'pluck'],
|
||||
'zipObject': [],
|
||||
|
||||
// private functions
|
||||
@@ -282,7 +283,6 @@
|
||||
'sortedIndex',
|
||||
'union',
|
||||
'uniq',
|
||||
'unzip',
|
||||
'without',
|
||||
'zip',
|
||||
'zipObject'
|
||||
|
||||
Reference in New Issue
Block a user