[Pkg-javascript-commits] [uglifyjs] 120/491: better document behavior of unsafe_Func (#2043)

Jonas Smedegaard dr at jones.dk
Wed Feb 14 19:51:27 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 f330ab743aa65234ad8c7d7cea7a6f8cc71fc6a5
Author: kzc <kzc at users.noreply.github.com>
Date:   Fri Jun 2 00:07:17 2017 -0400

    better document behavior of unsafe_Func (#2043)
---
 README.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index b6b52a4..95d5446 100644
--- a/README.md
+++ b/README.md
@@ -572,7 +572,8 @@ If you're using the `X-SourceMap` header instead, you can just omit `sourceMap.u
   comparison are switching. Compression only works if both `comparisons` and
   `unsafe_comps` are both set to true.
 
-- `unsafe_Func` (default: false) -- compress and mangle `Function(args, code)`.
+- `unsafe_Func` (default: false) -- compress and mangle `Function(args, code)`
+  when both `args` and `code` are string literals.
 
 - `unsafe_math` (default: false) -- optimize numerical expressions like
   `2 * x * 3` into `6 * x`, which may give imprecise floating point results.

-- 
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