aboutsummaryrefslogtreecommitdiff
path: root/lib/propmangle.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/propmangle.js')
-rw-r--r--lib/propmangle.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/propmangle.js b/lib/propmangle.js
index 04194393..e47497de 100644
--- a/lib/propmangle.js
+++ b/lib/propmangle.js
@@ -110,7 +110,6 @@ function mangle_properties(ast, options) {
cache: null,
debug: false,
keep_quoted: false,
- only_cache: false,
regex: null,
reserved: null,
}, true);
@@ -213,7 +212,6 @@ function mangle_properties(ast, options) {
function can_mangle(name) {
if (unmangleable[name]) return false;
- if (options.only_cache) return cache.has(name);
if (/^-?[0-9]+(\.[0-9]+)?(e[+-][0-9]+)?$/.test(name)) return false;
return true;
}