diff --git a/build.js b/build.js index 772cd3f72..964225622 100755 --- a/build.js +++ b/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 diff --git a/dist/lodash.underscore.js b/dist/lodash.underscore.js index 8c1a61d29..29330653b 100644 --- a/dist/lodash.underscore.js +++ b/dist/lodash.underscore.js @@ -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 = /($^)/;