From 45e8e522713ae078f4758c9e1f64cfcab0b230d4 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 23 Jan 2015 15:27:18 -0800 Subject: Tweaked uglifyjs options. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 43bf59d..f9e0625 100644 --- a/Makefile +++ b/Makefile @@ -131,7 +131,7 @@ js/dist/commonmark.js: js/lib/index.js ${JSMODULES} # 'npm install -g uglify-js' for the uglifyjs tool: js/dist/commonmark.min.js: js/dist/commonmark.js - uglifyjs $< --compress warnings --preamble "/* commonmark $(VERSION) https://github.com/jgm/CommonMark @license BSD3 */" > $@ + uglifyjs $< --compress keep_fargs=true,pure_getters=true --preamble "/* commonmark $(VERSION) https://github.com/jgm/CommonMark @license BSD3 */" > $@ testjs: $(SPEC) node js/test.js -- cgit v1.2.3