Skip to content

Commit c338bc9

Browse files
committed
Added new lines before and after inserted javascript code.
1 parent 3d50b4b commit c338bc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pipeline/compressors/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def compress_js(self, paths, templates=None, **kwargs):
6060
js = js + self.compile_templates(templates)
6161

6262
if not settings.PIPELINE_DISABLE_WRAPPER:
63-
js = "(function() { %s }).call(this);" % js
63+
js = "(function() {\n%s\n}).call(this);" % js
6464

6565
compressor = self.js_compressor
6666
if compressor:

0 commit comments

Comments
 (0)