mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 03:17:49 +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', "{'&':'&','<':'<','>':'>','"':'\"',''':\"'\"}");
|
source = replaceVar(source, 'htmlUnescapes', "{'&':'&','<':'<','>':'>','"':'\"',''':\"'\"}");
|
||||||
}
|
}
|
||||||
if (isRemoved(source, 'isArguments')) {
|
if (isRemoved(source, 'isArguments')) {
|
||||||
source = replaceVar(source, 'noArgsClass', 'false');
|
source = replaceSupportProp(source, 'argsClass', 'true');
|
||||||
}
|
}
|
||||||
if (isRemoved(source, 'isFunction')) {
|
if (isRemoved(source, 'isFunction')) {
|
||||||
source = removeIsFunctionFallback(source);
|
source = removeIsFunctionFallback(source);
|
||||||
@@ -2639,6 +2639,7 @@
|
|||||||
}
|
}
|
||||||
if (isRemoved(source, 'parseInt')) {
|
if (isRemoved(source, 'parseInt')) {
|
||||||
source = removeVar(source, 'nativeParseInt');
|
source = removeVar(source, 'nativeParseInt');
|
||||||
|
source = removeVar(source, 'reLeadingZeros');
|
||||||
}
|
}
|
||||||
if (isRemoved(source, 'template')) {
|
if (isRemoved(source, 'template')) {
|
||||||
// remove `templateSettings` assignment
|
// 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 */
|
/** Used to match "interpolate" template delimiters */
|
||||||
var reInterpolate = /<%=([\s\S]+?)%>/g;
|
var reInterpolate = /<%=([\s\S]+?)%>/g;
|
||||||
|
|
||||||
/** Used to match leading zeros to be removed */
|
|
||||||
var reLeadingZeros = /^0+(?=.$)/;
|
|
||||||
|
|
||||||
/** Used to ensure capturing order of template delimiters */
|
/** Used to ensure capturing order of template delimiters */
|
||||||
var reNoMatch = /($^)/;
|
var reNoMatch = /($^)/;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user