aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-11-24 18:28:17 +0100
committerAlon Zakai <alonzakai@gmail.com>2012-12-07 14:23:18 -0800
commiteac1c0b2bf7f6c01553bfe1117592bc285878464 (patch)
treed15829942ea388e5fc32a375bd70833986249650 /tools
parent6cf30ed0950d4fe27ce89c536dd2e12a825cdc6d (diff)
fix suffix in js optimizer
Diffstat (limited to 'tools')
-rw-r--r--tools/js_optimizer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/js_optimizer.py b/tools/js_optimizer.py
index 5bed4cb7..622ceec2 100644
--- a/tools/js_optimizer.py
+++ b/tools/js_optimizer.py
@@ -115,7 +115,7 @@ def run(filename, passes, js_engine, jcache):
if len(chunks) > 0:
def write_chunk(chunk, i):
- temp_file = temp_files.get('.jsfunc_%d.ll' % i).name
+ temp_file = temp_files.get('.jsfunc_%d.js' % i).name
f = open(temp_file, 'w')
f.write(chunk)
f.write(suffix)