[Pkg-javascript-commits] [uglifyjs] 141/491: add comment about quote_style and gzip (#2092)

Jonas Smedegaard dr at jones.dk
Wed Feb 14 19:51:29 UTC 2018


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag debian/3.3.10-1
in repository uglifyjs.

commit da2de350c3c59fa90665ed68ae0f41f8d77f50d8
Author: kzc <kzc at users.noreply.github.com>
Date:   Wed Jun 14 00:23:03 2017 -0400

    add comment about quote_style and gzip (#2092)
---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 039bc63..de2c2c9 100644
--- a/README.md
+++ b/README.md
@@ -766,7 +766,7 @@ can pass additional arguments that control the code output:
 - `quote_style` (default `0`) -- preferred quote style for strings (affects
   quoted property names and directives as well):
   - `0` -- prefers double quotes, switches to single quotes when there are
-    more double quotes in the string itself.
+    more double quotes in the string itself. `0` is best for gzip size.
   - `1` -- always use single quotes
   - `2` -- always use double quotes
   - `3` -- always use the original quotes

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/uglifyjs.git



More information about the Pkg-javascript-commits mailing list