aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2017-05-09 16:08:04 +0800
committeralexlamsl <alexlamsl>2017-05-09 16:09:48 +0800
commitbc3fa78e8cedfda4cc0eb7aa7bc7b00c5e860650 (patch)
tree3a7b07bc60cec52ff72c703b40c03fd44a35a544 /README.md
parent8c7c1077654a3923baebb27e62f7b1dc0a7892b5 (diff)
downloadtracifyjs-bc3fa78e8cedfda4cc0eb7aa7bc7b00c5e860650.tar.gz
tracifyjs-bc3fa78e8cedfda4cc0eb7aa7bc7b00c5e860650.zip
mention `minify().error`
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index a665c06d..52c44ccd 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: