def escapejs(value):
    for bad, good in JS_ESCAPES:
        value = value.replace(bad, good)
    return value
Show a file.
dataset/ETHPy150Open anandology/pyjamas/pyjs/src/pyjs/translator_proto.py/escapejs--crossover with--dataset/ETHPy150Open pantsbuild/pants/src/python/pants/reporting/reporting_server.py/PantsHandler._serve_file