Remove reLeadingZeros from lodash underscore build.

Former-commit-id: 289d53be5b6af17ace4118ea0e6d9784667d09d3
This commit is contained in:
John-David Dalton
2013-03-10 03:28:59 -07:00
parent 0fa0b0b1ea
commit 40f9eeda36
2 changed files with 2 additions and 4 deletions

View File

@@ -2567,7 +2567,7 @@
source = replaceVar(source, 'htmlUnescapes', "{'&amp;':'&','&lt;':'<','&gt;':'>','&quot;':'\"','&#x27;':\"'\"}");
}
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

View File

@@ -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 = /($^)/;