einars/js-beautify — Issue #93: Method chaining
Author: johnnywengluu
Created: 2012-01-26 07:07:06+00:00
State: open

Instead of this:

vows.describe('App').addBatch(clearingDatabase()).addBatch(settingUpDatabase()).addBatch(creatingUser())...

It would be great if C9 allowed this kind of formatting when I beautify the code:

vows.describe('App')
.addBatch(clearingDatabase())
.addBatch(settingUpDatabase())
.addBatch(creatingUser())
.addBatch(creatingOrganization())
.addBatch(deletingOrganization())
.addBatch(deletingUser())
.run();