Khan / react-components

khan.github.io/react-components/
MIT License
1.01k stars 99 forks source link

trailing newlines #2

Closed joelburget closed 10 years ago

joelburget commented 10 years ago

I find it off-putting to have a trailing newline after each example.

screen shot 2014-06-23 at 5 40 19 pm

I tried fixing this but had to revert because the examples with a trailing comment would get a parse error.

ariabuckles commented 10 years ago

Can't you add in the trailing newline right before parsing? (i.e. maybe on line 46 in this diff)

joelburget commented 10 years ago

@jacktoole1 I think it's fixed with my latest commit. Before we were accidentally commenting out the end of the function declaration.