[Pkg-javascript-commits] [uglifyjs] 19/49: Add missing `{` in README

Jonas Smedegaard dr at jones.dk
Fri Dec 9 11:43:26 UTC 2016


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

js pushed a commit to branch master
in repository uglifyjs.

commit 37f4395cc0a48b76258f576a0849a4fb35767541
Author: Timothy Gu <timothygu99 at gmail.com>
Date:   Thu Aug 11 18:21:21 2016 -0700

    Add missing `{` in README
    
    Also fix a trivial style mistake.
---
 README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 61a6000..4f5b21a 100644
--- a/README.md
+++ b/README.md
@@ -732,10 +732,10 @@ Other options:
   UglifyJS.minify("tst.js").code;
   // 'function funcName(a,n){}var globalVar;'
 
-  UglifyJS.minify("tst.js", { mangle: { except: ['firstLongName'] }}).code;
+  UglifyJS.minify("tst.js", { mangle: { except: ['firstLongName'] } }).code;
   // 'function funcName(firstLongName,a){}var globalVar;'
 
-  UglifyJS.minify("tst.js", { mangle: toplevel: true }}).code;
+  UglifyJS.minify("tst.js", { mangle: { toplevel: true } }).code;
   // 'function n(n,a){}var a;'
   ```
 

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