summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorPatrick Michaud <pmichaud@uw.edu>2017-01-02 23:50:02 -0800
committerJohannes Linke <karyon@users.noreply.github.com>2017-01-03 08:50:02 +0100
commitc2c37c7c3000dfce96a62e0e28de79e30ae81285 (patch)
tree0091a078913b8d09c4238f6534edfcac99ee2994 /.gitignore
parent785e62a4c941b324de0030907a3688bfe92ba46d (diff)
downloaddjango-compressor-c2c37c7c3000dfce96a62e0e28de79e30ae81285.tar.gz
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)
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore1
1 files changed, 1 insertions, 0 deletions
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