aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-11-21 21:58:34 +0100
committerAlon Zakai <alonzakai@gmail.com>2012-11-21 21:58:34 +0100
commitbe73e8c91f79db5b7ab5d6355c01264ed90e8369 (patch)
tree44ddfc3d366b39709f98481273915d5d13c23463 /tools
parente385931c501dcca3767e16fc8531150493131e59 (diff)
more jcache testing, and add newlines to ensure chunk separation
Diffstat (limited to 'tools')
-rw-r--r--tools/js_optimizer.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/js_optimizer.py b/tools/js_optimizer.py
index a63fc794..b5ffdc2d 100644
--- a/tools/js_optimizer.py
+++ b/tools/js_optimizer.py
@@ -121,9 +121,11 @@ def run(filename, passes, js_engine, jcache):
f = open(filename, 'w')
for out_file in filenames:
f.write(open(out_file).read())
+ f.write('\n')
if jcache:
for cached in cached_outputs:
f.write(cached); # TODO: preserve order
+ f.write('\n')
f.write(suffix)
f.write('\n')
f.close()