Implement -m sort=true

close #83
This commit is contained in:
Mihai Bazon
2013-01-02 12:39:00 +02:00
parent 9916d0e547
commit 83a4ebfedc
2 changed files with 8 additions and 3 deletions

View File

@@ -130,7 +130,7 @@ input files from the command line.
## Mangler options
To enable the mangler you need to pass `--mangle` (`-m`). Optionally you
can pass `-m sort` (we'll possibly have other flags in the future) in order
can pass `-m sort=true` (we'll possibly have other flags in the future) in order
to assign shorter names to most frequently used variables. This saves a few
hundred bytes on jQuery before gzip, but the output is _bigger_ after gzip
(and seems to happen for other libraries I tried it on) therefore it's not