[Pkg-javascript-commits] [uglifyjs] 01/190: Add keep_fnames compressor option to README.md

Antonio Terceiro terceiro at moszumanska.debian.org
Sun Aug 7 23:17:06 UTC 2016


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

terceiro pushed a commit to annotated tag upstream/2.7.0
in repository uglifyjs.

commit 65ee5af78ca3ec85dee8870a452845f1a4c871f7
Author: Andrew Levine <theandrewtizer at gmail.com>
Date:   Tue Jun 2 15:32:10 2015 -0500

    Add keep_fnames compressor option to README.md
---
 README.md | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/README.md b/README.md
index f3eb5f7..4257915 100644
--- a/README.md
+++ b/README.md
@@ -345,6 +345,11 @@ to set `true`; it's effectively a shortcut for `foo=true`).
   compressor from discarding unused function arguments.  You need this
   for code which relies on `Function.length`.
 
+- `keep_fnames` -- default `false`.  Pass `true` to prevent the
+  compressor from mangling/discarding function names.  Useful for code relying on
+  `Function.prototype.name`.
+
+
 ### The `unsafe` option
 
 It enables some transformations that *might* break code logic in certain

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