force spaces for binary expressions - fixes #1835
This commit is contained in:
parent
560a044d8f
commit
13e910ea83
@ -140,6 +140,7 @@ export function AssignmentExpression(node, print) {
|
||||
print.plain(node.left);
|
||||
|
||||
var spaces = node.operator === "in" || node.operator === "instanceof";
|
||||
spaces = true; // todo: https://github.com/babel/babel/issues/1835
|
||||
this.space(spaces);
|
||||
|
||||
this.push(node.operator);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user