Skip to content

Commit

Permalink
DevTools: fix formatting of continue statement
Browse files Browse the repository at this point in the history
BUG=630718
R=kozyatinskiy

Review-Url: https://codereview.chromium.org/2184193003
Cr-Commit-Position: refs/heads/master@{#408206}
  • Loading branch information
aslushnikov authored and Commit bot committed Jul 27, 2016
1 parent 71df6ca commit a900e55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front_end/formatter_worker/JavaScriptFormatter.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ WebInspector.JavaScriptFormatter.prototype = {
if (node.consequent.type !== "BlockStatement")
return "<";
}
} else if (node.type === "BreakStatement" || node.type === "ThrowStatement" || node.type === "ReturnStatement" || node.type === "ExpressionStatement") {
} else if (node.type === "BreakStatement" || node.type === "ContinueStatement" || node.type === "ThrowStatement" || node.type === "ReturnStatement" || node.type === "ExpressionStatement") {
return "n";
}
return "";
Expand Down

0 comments on commit a900e55

Please sign in to comment.