Skip to content

Commit

Permalink
fixed files form Closure #1
Browse files Browse the repository at this point in the history
  • Loading branch information
tdurieux committed Mar 7, 2017
1 parent 3441eaa commit 0f93bff
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,9 @@ private void removeUnreferencedFunctionArgs(Scope fnScope) {
// is removing globals, then it's OK to remove unused function args.
//
// See http://code.google.com/p/closure-compiler/issues/detail?id=253
if (!removeGlobals) {
return;
}

Node function = fnScope.getRootNode();

Expand Down

0 comments on commit 0f93bff

Please sign in to comment.