* Remove whitespace generation and rely on default printing Changes to printing: * Add newline after last empty SwitchCase * Add newlines around block comments if they are non-flow comments or contain newlines * Fix a few more fixtures
9 lines
133 B
JavaScript
9 lines
133 B
JavaScript
function render(flag) {
|
|
if (flag) {
|
|
var bar = "bar";
|
|
[].map(() => bar);
|
|
return <foo bar={bar} />;
|
|
}
|
|
|
|
return null;
|
|
} |