Skip to content

Commit

Permalink
malte's pr comment
Browse files Browse the repository at this point in the history
  • Loading branch information
William Chou committed Oct 12, 2016
1 parent 77d1c01 commit 53d68cc
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import com.google.javascript.jscomp.CheckLevel;
import com.google.javascript.jscomp.CommandLineRunner;
import com.google.javascript.jscomp.CompilerOptions;
import com.google.javascript.jscomp.CustomPassExecutionTime;
Expand Down Expand Up @@ -69,8 +68,6 @@ protected AmpCommandLineRunner(String[] args) {
}
CompilerOptions options = super.createOptions();
options.setCollapseProperties(true);
// Warn on improper uses of `this` that `collapseProperties` assumes.
options.setCheckGlobalThisLevel(CheckLevel.WARNING);
AmpPass ampPass = new AmpPass(getCompiler(), is_production_env, suffixTypes, assignmentReplacements);
options.addCustomPass(CustomPassExecutionTime.BEFORE_OPTIMIZATIONS, ampPass);
options.setDevirtualizePrototypeMethods(true);
Expand Down

0 comments on commit 53d68cc

Please sign in to comment.