No ticket: Clean up uglifyjs compress options. Close gh-1382.

This commit is contained in:
Timo Tijhof 2013-09-24 16:23:58 +02:00 committed by Richard Gibson
parent a5063ee2a1
commit e15627022f

View File

@ -111,10 +111,17 @@ module.exports = function( grunt ) {
ascii_only: true ascii_only: true
}, },
compress: { compress: {
hoist_funs: false, properties: true,
join_vars: false, dead_code: true,
unsafe: false,
booleans: true,
loops: false, loops: false,
unused: false unused: false,
hoist_funs: false,
hoist_vars: false,
if_return: true,
join_vars: true,
warnings: true
} }
} }
} }