aboutsummaryrefslogtreecommitdiff
path: root/emlink.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-07-30 14:21:15 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-07-30 14:21:15 -0700
commite6820abcba785a2b54240920c7c9bf649eb5270c (patch)
treec0dbeae471e738e7c67a6215868b7153bf3f7186 /emlink.py
parent49f6c7e7c295c0ec0bbd99683de7330f1cffd8dd (diff)
fix and test for multiple static linking
Diffstat (limited to 'emlink.py')
-rw-r--r--emlink.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/emlink.py b/emlink.py
index 708c08d6..387b7de8 100644
--- a/emlink.py
+++ b/emlink.py
@@ -56,7 +56,7 @@ class AsmModule():
self.imports = {}
for imp in js_optimizer.import_sig.finditer(self.imports_js):
key, value = imp.group(0).split('var ')[1][:-1].split('=', 1)
- self.imports[key] = value
+ self.imports[key.strip()] = value.strip()
#print >> sys.stderr, 'imports', self.imports
# funcs