Address feedback
This commit is contained in:
parent
3eed8181d9
commit
b8aed9878a
10
bin/uglifyjs
10
bin/uglifyjs
|
|
@ -214,16 +214,14 @@ if (ARGS.quotes === true) {
|
||||||
|
|
||||||
if (ARGS.mangle_props === true) {
|
if (ARGS.mangle_props === true) {
|
||||||
ARGS.mangle_props = 1;
|
ARGS.mangle_props = 1;
|
||||||
}
|
} else if (ARGS.mangle_props === "unquoted") {
|
||||||
|
|
||||||
if (ARGS.mangle_props === "unquoted") {
|
|
||||||
ARGS.mangle_props = 2;
|
ARGS.mangle_props = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
var OUTPUT_OPTIONS = {
|
var OUTPUT_OPTIONS = {
|
||||||
beautify : BEAUTIFY ? true : false,
|
beautify : BEAUTIFY ? true : false,
|
||||||
preamble : ARGS.preamble || null,
|
preamble : ARGS.preamble || null,
|
||||||
quote_style : ARGS.quotes != null ? ARGS.quotes : 0,
|
quote_style : ARGS.quotes != null ? ARGS.quotes : 0,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (ARGS.mangle_props == 2) {
|
if (ARGS.mangle_props == 2) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user