aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2018-07-13 01:51:10 +0800
committerGitHub <noreply@github.com>2018-07-13 01:51:10 +0800
commitbcebacbb9e7ddac7d9c0e4ca2c7e0faf0e0bca7c (patch)
treefcc19ae9f916dc819753245261f685ac8bb9d34b /bin
parent018a5a750a16dce58ab50d943c47ea6cf01a0fbb (diff)
downloadtracifyjs-bcebacbb9e7ddac7d9c0e4ca2c7e0faf0e0bca7c.tar.gz
tracifyjs-bcebacbb9e7ddac7d9c0e4ca2c7e0faf0e0bca7c.zip
fix corner cases in `preserve_line` (#3212)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/uglifyjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/uglifyjs b/bin/uglifyjs
index fb6ae2fb..62c7beb3 100755
--- a/bin/uglifyjs
+++ b/bin/uglifyjs
@@ -100,7 +100,7 @@ if (program.mangleProps) {
if (typeof program.mangleProps != "object") program.mangleProps = {};
if (!Array.isArray(program.mangleProps.reserved)) program.mangleProps.reserved = [];
require("../tools/domprops").forEach(function(name) {
- UglifyJS._push_uniq(program.mangleProps.reserved, name);
+ UglifyJS.push_uniq(program.mangleProps.reserved, name);
});
}
if (typeof options.mangle != "object") options.mangle = {};