aboutsummaryrefslogtreecommitdiff
path: root/lib/propmangle.js
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2017-03-31 16:41:04 +0800
committerGitHub <noreply@github.com>2017-03-31 16:41:04 +0800
commita0c3836ba0e3baca8d758d9855144ac15ec0ac8d (patch)
treee72814d10668a4d771728fd4f817bc6b76f4c903 /lib/propmangle.js
parentf8a71b56fd6979028d047ce2822878e9796fcec6 (diff)
downloadtracifyjs-a0c3836ba0e3baca8d758d9855144ac15ec0ac8d.tar.gz
tracifyjs-a0c3836ba0e3baca8d758d9855144ac15ec0ac8d.zip
sort options in alphabetical order (#1743)
They started off as functional groups I guess, but given the sheer number of options this is becoming too difficult to read.
Diffstat (limited to 'lib/propmangle.js')
-rw-r--r--lib/propmangle.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/propmangle.js b/lib/propmangle.js
index 3c75cac9..cfa035d2 100644
--- a/lib/propmangle.js
+++ b/lib/propmangle.js
@@ -62,12 +62,12 @@ function find_builtins() {
function mangle_properties(ast, options) {
options = defaults(options, {
- reserved : null,
- cache : null,
- only_cache : false,
- regex : null,
- ignore_quoted : false,
- debug : false
+ cache: null,
+ debug: false,
+ ignore_quoted: false,
+ only_cache: false,
+ regex: null,
+ reserved: null,
});
var reserved = options.reserved;