einars/js-beautify — pull request #182 by bitwiseman (2013-03-12 23:12:09+00:00)
Title: Javascript line wrapping option based on expanded newline preservation points

This expands the set of locations where newlines are preserved to include open-parens and dots. And then adds a line wrapping option based on the locations where newlines would preserved.

Result is not always _beautiful_, but is generally reasonable and not ugly.