diff options
author | Mihai Bazon <mihai.bazon@gmail.com> | 2015-05-13 22:03:00 +0300 |
---|---|---|
committer | Mihai Bazon <mihai.bazon@gmail.com> | 2015-05-13 22:03:00 +0300 |
commit | 44fd6694ebf1def9974915b163cfc79114eb8e80 (patch) | |
tree | 19285bb79026390f770db07fae5cabf8e20c9177 /lib | |
parent | e48db3a8b6ce8bf06448224dbb3f6339f834ed98 (diff) | |
download | tracifyjs-44fd6694ebf1def9974915b163cfc79114eb8e80.tar.gz tracifyjs-44fd6694ebf1def9974915b163cfc79114eb8e80.zip |
fix again reserved props
Diffstat (limited to 'lib')
-rw-r--r-- | lib/propmangle.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/propmangle.js b/lib/propmangle.js index d3e582d6..0890eaa7 100644 --- a/lib/propmangle.js +++ b/lib/propmangle.js @@ -149,6 +149,7 @@ function mangle_properties(ast, options) { } function should_mangle(name) { + if (reserved.indexOf(name) >= 0) return false; return cache.props.has(name) || names_to_mangle.indexOf(name) >= 0; } |