We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20e4867 commit 77d7addCopy full SHA for 77d7add
emscripten.py
@@ -994,7 +994,7 @@ def fix_item(item):
994
pass
995
# If no named globals, only need externals
996
global_vars = []
997
- global_funcs = ['_' + key for key, value in forwarded_json['Functions']['libraryFunctions'].iteritems() if value != 2] + metadata['externs']
+ global_funcs = list(set(['_' + key for key, value in forwarded_json['Functions']['libraryFunctions'].iteritems() if value != 2] + metadata['externs']))
998
def math_fix(g):
999
return g if not g.startswith('Math_') else g.split('_')[1]
1000
asm_global_funcs = ''.join([' var ' + g.replace('.', '_') + '=global.' + g + ';\n' for g in maths]) + \
0 commit comments