[Pkg-javascript-commits] [uglifyjs] 44/491: mention `minify().error`

Jonas Smedegaard dr at jones.dk
Wed Feb 14 19:51:20 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 bc3fa78e8cedfda4cc0eb7aa7bc7b00c5e860650
Author: Alex Lam S.L <alexlamsl at gmail.com>
Date:   Tue May 9 16:08:04 2017 +0800

    mention `minify().error`
---
 README.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index a665c06..52c44cc 100644
--- a/README.md
+++ b/README.md
@@ -596,7 +596,8 @@ performs all the steps in a configurable manner.
 Example:
 ```javascript
 var result = UglifyJS.minify("var b = function() {};");
-console.log(result.code); // minified output
+console.log(result.code);  // minified output
+console.log(result.error); // runtime error
 ```
 
 You can also compress multiple files:

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