var CHANGED;
do {
CHANGED = false;
+ if (compressor.option("angular")) {
+ statements = process_for_angular(statements);
+ }
statements = eliminate_spurious_blocks(statements);
if (compressor.option("dead_code")) {
statements = eliminate_dead_code(statements, compressor);
if (compressor.option("join_vars")) {
statements = join_consecutive_vars(statements, compressor);
}
- if (compressor.option("angular")) {
- statements = process_for_angular(statements);
- }
} while (CHANGED);
if (compressor.option("negate_iife")) {