* 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
15 lines
216 B
JavaScript
15 lines
216 B
JavaScript
/** @jsx dom */
|
|
dom(Foo, null);
|
|
var profile = dom(
|
|
"div",
|
|
null,
|
|
dom("img", {
|
|
src: "avatar.png",
|
|
className: "profile"
|
|
}),
|
|
dom(
|
|
"h3",
|
|
null,
|
|
[user.firstName, user.lastName].join(" ")
|
|
)
|
|
); |