* 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
14 lines
223 B
JavaScript
14 lines
223 B
JavaScript
function* asdf() {
|
|
(yield 1) || (yield 2);
|
|
(yield b)();
|
|
new (yield b)();
|
|
(yield 1) ? yield 2 : yield 3;
|
|
yield 1 ? 2 : 3;
|
|
yield yield 1;
|
|
}
|
|
|
|
function* a(b) {
|
|
(yield xhr({
|
|
url: "views/test.html"
|
|
})).data;
|
|
} |