mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 02:47:50 +00:00
Remove _.unzip from the underscore build.
Former-commit-id: 6d0accb64f39b08b72e3165c49a8c844a7a99cd3
This commit is contained in:
4
build.js
4
build.js
@@ -2812,12 +2812,12 @@
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
// remove `_.assign`, `_.forIn`, `_.forOwn`, `_.isPlainObject`, and `_.zipObject` assignments
|
// remove `_.assign`, `_.forIn`, `_.forOwn`, `_.isPlainObject`, `_.unzip`, and `_.zipObject` assignments
|
||||||
(function() {
|
(function() {
|
||||||
var snippet = getMethodAssignments(source),
|
var snippet = getMethodAssignments(source),
|
||||||
modified = snippet;
|
modified = snippet;
|
||||||
|
|
||||||
_.each(['assign', 'createCallback', 'forIn', 'forOwn', 'isPlainObject', 'zipObject'], function(methodName) {
|
_.each(['assign', 'createCallback', 'forIn', 'forOwn', 'isPlainObject', 'unzip', 'zipObject'], function(methodName) {
|
||||||
if (!useLodashMethod(methodName)) {
|
if (!useLodashMethod(methodName)) {
|
||||||
modified = modified.replace(RegExp('^(?: *//.*\\s*)* *lodash\\.' + methodName + ' *=.+\\n', 'm'), '');
|
modified = modified.replace(RegExp('^(?: *//.*\\s*)* *lodash\\.' + methodName + ' *=.+\\n', 'm'), '');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user