Skip to content

Commit

Permalink
fixed files form Closure #67
Browse files Browse the repository at this point in the history
  • Loading branch information
tdurieux committed Mar 7, 2017
1 parent 270d7ae commit 9cdafb7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ private boolean isPrototypePropertyAssign(Node assign) {
Node n = assign.getFirstChild();
if (n != null && NodeUtil.isVarOrSimpleAssignLhs(n, assign)
&& n.getType() == Token.GETPROP
) {
&& assign.getParent().getType() == Token.EXPR_RESULT) {
// We want to exclude the assignment itself from the usage list
boolean isChainedProperty =
n.getFirstChild().getType() == Token.GETPROP;
Expand Down

0 comments on commit 9cdafb7

Please sign in to comment.