From c2c37c7c3000dfce96a62e0e28de79e30ae81285 Mon Sep 17 00:00:00 2001 From: Patrick Michaud Date: Mon, 2 Jan 2017 23:50:02 -0800 Subject: Insert semicolon between JS files, fixes a JS syntax error when certain files are combined (#813) compressor will turn files that look like File1.js: (function($) { console.log("run"); })(window) File2.js: (function($) { console.log("run 2"); })(window) Into: (function($) { console.log("run"); })(window) (function($) { console.log("run 2"); })(window) which will give an error like "Uncaught TypeError: (intermediate value)(...) is not a function" This commit changes that output to: (function($) { console.log("run"); })(window);(function($) { console.log("run 2"); })(window) --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 76f9ac6..b0f3fc5 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ build compressor/tests/static/CACHE compressor/tests/static/custom compressor/tests/static/js/066cd253eada.js +compressor/tests/static/js/d728fc7f9301.js compressor/tests/static/test.txt* dist -- cgit v1.2.1