mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 15:57:48 +00:00
Remove reLeadingZeros from lodash underscore build.
Former-commit-id: 289d53be5b6af17ace4118ea0e6d9784667d09d3
This commit is contained in:
3
build.js
3
build.js
@@ -2567,7 +2567,7 @@
|
||||
source = replaceVar(source, 'htmlUnescapes', "{'&':'&','<':'<','>':'>','"':'\"',''':\"'\"}");
|
||||
}
|
||||
if (isRemoved(source, 'isArguments')) {
|
||||
source = replaceVar(source, 'noArgsClass', 'false');
|
||||
source = replaceSupportProp(source, 'argsClass', 'true');
|
||||
}
|
||||
if (isRemoved(source, 'isFunction')) {
|
||||
source = removeIsFunctionFallback(source);
|
||||
@@ -2639,6 +2639,7 @@
|
||||
}
|
||||
if (isRemoved(source, 'parseInt')) {
|
||||
source = removeVar(source, 'nativeParseInt');
|
||||
source = removeVar(source, 'reLeadingZeros');
|
||||
}
|
||||
if (isRemoved(source, 'template')) {
|
||||
// remove `templateSettings` assignment
|
||||
|
||||
3
dist/lodash.underscore.js
vendored
3
dist/lodash.underscore.js
vendored
@@ -50,9 +50,6 @@
|
||||
/** Used to match "interpolate" template delimiters */
|
||||
var reInterpolate = /<%=([\s\S]+?)%>/g;
|
||||
|
||||
/** Used to match leading zeros to be removed */
|
||||
var reLeadingZeros = /^0+(?=.$)/;
|
||||
|
||||
/** Used to ensure capturing order of template delimiters */
|
||||
var reNoMatch = /($^)/;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user