Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

make some changes to js_ast to improve output #66

Closed
sigmundch opened this issue Feb 25, 2015 · 2 comments
Closed

make some changes to js_ast to improve output #66

sigmundch opened this issue Feb 25, 2015 · 2 comments

Comments

@sigmundch
Copy link
Contributor

Some that come to mind:

  • change \n printing to blocks, so that if(foo) return bah; can be a single line
  • add newlines at the end of classes (I think the separation helps)
@jmesserly
Copy link
Contributor

regarding:

add newlines at the end of classes (I think the separation helps)

I tried this, it looked a little off because other top level stuff doesn't necessarily have spacing. we could do a newline before and after, though. Another idea I had was to use ES6 modules, and then they can have better spacing between top level code.

@jmesserly
Copy link
Contributor

moved to #425

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants