Commit c338bc90 by Alex

Added new lines before and after inserted javascript code.

parent 3d50b4b2
...@@ -60,7 +60,7 @@ class Compressor(object): ...@@ -60,7 +60,7 @@ class Compressor(object):
js = js + self.compile_templates(templates) js = js + self.compile_templates(templates)
if not settings.PIPELINE_DISABLE_WRAPPER: if not settings.PIPELINE_DISABLE_WRAPPER:
js = "(function() { %s }).call(this);" % js js = "(function() {\n%s\n}).call(this);" % js
compressor = self.js_compressor compressor = self.js_compressor
if compressor: if compressor:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment