Address feedback

This commit is contained in:
Shrey Banga 2016-06-13 17:08:41 -07:00
parent 3eed8181d9
commit b8aed9878a

View File

@ -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) {