

def thrift_gen_js(source, gen_dir):
    stamp = get_path(get_stamp(source, gen_dir, '.js_stamp'))
    gen_dir = os.path.join(gen_dir, os.path.dirname(source))
    source = get_path(source)
    refresh(source, stamp, thrift_gen_cmd(gen_dir, 'js:jquery', get_path(gen_dir)))

dataset/ETHPy150Open viewfinderco/viewfinder/__init__.py thrift_gen_js/VarMisuse@61/81 `source`->`gen_dir`