mishoo/UglifyJS2 — pull request #58 by roxeteer (2012-11-29 08:54:51+00:00)
Title: Fixed reading from STDIN

Reading the code from STDIN by giving a single dash as the file name didn't work for me at all. Here's a working version.

Also, I don't really like that UglifyJS v2 is not compatible with v1 which didn't require any extra parameters to read from STDIN. I haven't touched that feature in this pull request, though.