From 7fdf00d5e95432ecb470639152e82d048e056a8d Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 30 Dec 2012 11:14:10 -0600 Subject: [PATCH] Workaround UglifyJS `comments` option bug. Former-commit-id: 705510311c4eee0739e85054c6d8edded427efe3 --- build/minify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/minify.js b/build/minify.js index 904301d08..9cce7d13f 100755 --- a/build/minify.js +++ b/build/minify.js @@ -330,7 +330,7 @@ // restrict lines to 500 characters for consistency with the Closure Compiler var stream = uglifyJS.OutputStream({ 'ascii_only': true, - 'comments': true, + 'comments': /\* *@license/, 'max_line_len': 500, });