jdc0589/JsFormat — pull request #65 by hansifer (2013-05-31 12:42:29+00:00)
Title: fixed newline code in format_whole_file 

Using "\r\n" introduces an extra CR on Windows since Python applies the system-appropriate newline for "\n" when writing files opened in text mode. No need for "lineEnding" logic since we can just use "\n" in all cases.