mishoo/UglifyJS — pull request #337 by paulbaumgart (2012-03-13 00:53:43+00:00)
Title: Add option to gen_code to specify quote character to use.

This is useful when uglifying html attributes like <a onclick="doSomething('some string');">.

Defaults to double-quote if any truthy value is passed other than
a single-quote. If the value is falsy, behavior is as before.