diff options
author | James Gregory <james@james.id.au> | 2013-08-19 14:01:32 -0700 |
---|---|---|
committer | James Gregory <james@james.id.au> | 2013-08-19 14:01:32 -0700 |
commit | afcdfff09f8557ce6810546628733f48d6c45408 (patch) | |
tree | 9c556c29a0556429dc1b421b2d5abade1915a034 /tools/asm_module.py | |
parent | 46c82708d50e839945fa24094fe352241be6a22e (diff) | |
parent | cd38275faf739ba151c0aa7abe13703c9b8d8235 (diff) |
Merge remote-tracking branch 'origin/incoming' into touch_handling
Diffstat (limited to 'tools/asm_module.py')
-rw-r--r-- | tools/asm_module.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/asm_module.py b/tools/asm_module.py index bf7fa71d..226b66b8 100644 --- a/tools/asm_module.py +++ b/tools/asm_module.py @@ -84,7 +84,9 @@ class AsmModule(): for table in self.tables: if table not in main.tables: sig = table[table.rfind('_')+1:] - all_sendings['invoke_%s' % sig] = shared.JS.make_invoke(sig, named=False) + func = 'invoke_%s' % sig + all_sendings[func] = func + main.pre_js += 'var %s = %s;\n' % (func, shared.JS.make_invoke(sig, named=False)) added_sending = True # imports |