aboutsummaryrefslogtreecommitdiff
path: root/emscripten.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-03-30 18:31:43 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-03-30 18:31:59 -0700
commit26be0690260a71d56b6c51a52092d4cbbd736fb6 (patch)
treead9ab7a6db04dcaf901ddd6330f21a060c83d47c /emscripten.py
parentf80ba84acda259c54048075bdd4cc91ced5fc5ae (diff)
do not concatenate funcs_js parts, keep them separate
Diffstat (limited to 'emscripten.py')
-rwxr-xr-xemscripten.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/emscripten.py b/emscripten.py
index 353390a5..d41aaa2c 100755
--- a/emscripten.py
+++ b/emscripten.py
@@ -282,7 +282,7 @@ def emscript(infile, settings, outfile, libraries=[], compiler_engine=None,
if len(parts) > 1:
pre = parts[0]
outputs.append([parts[1]])
- funcs_js = [''.join([output[0] for output in outputs])] # this will be a list of things, so we do not do string appending as we add more
+ funcs_js = [output[0] for output in outputs]
outputs = None
if DEBUG: print >> sys.stderr, ' emscript: phase 2b took %s seconds' % (time.time() - t)