Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't special-case 1-property objects #96

Merged
merged 4 commits into from Oct 15, 2011

Conversation

Projects
None yet
2 participants
@MichaelBlume
Copy link
Contributor

MichaelBlume commented Oct 4, 2011

ensure generated coffeescript does not fall afoul of jashkenas/coffeescript#1116

Mike Blume added some commits Oct 4, 2011

Mike Blume
don't special-case one-property objects
ensure generated coffeescript does not fall afoul of jashkenas/coffeescript#1116
Mike Blume
Inline most one-property objects
Just newline them if they are themselves property values.

This will preserve the desired round-trip behavior with fewer unneeded
side-effects
@MichaelBlume

This comment has been minimized.

Copy link
Contributor Author

MichaelBlume commented Oct 4, 2011

see also #94

@rstacruz rstacruz merged commit fc5c2e5 into js2coffee:master Oct 15, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.