properly align multi declarator var declarations - fixes #413
This commit is contained in:
parent
6650336c64
commit
281003c7bd
@ -157,7 +157,7 @@ exports.DebuggerStatement = function () {
|
||||
exports.VariableDeclaration = function (node, print, parent) {
|
||||
this.push(node.kind + " ");
|
||||
|
||||
print.join(node.declarations, { separator: ", " });
|
||||
print.join(node.declarations, { separator: ",\n" + this.getIndent(2) });
|
||||
|
||||
if (!t.isFor(parent)) {
|
||||
this.semicolon();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user