MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / cleanup

Function cleanup

test/common.py:369–373  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

367 long_lines = []
368
369 def cleanup(line):
370 if len(line) > 2048 and line.startswith('var Module=typeof Module!="undefined"'):
371 long_lines.append(line)
372 line = '<REPLACED ENTIRE PROGRAM ON SINGLE LINE>'
373 return line
374
375 lines = [cleanup(l) for l in lines]
376 if not long_lines:

Callers 1

clean_js_outputFunction · 0.70

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected