Skip to content

Commit 6e84f68

Browse files
authored
Cleanup the post.js (#644)
1 parent f4590a8 commit 6e84f68

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

wasm_patches/post.js

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,14 @@ Module.wasmTable = wasmTable;
44
// Emscripten has a bug where it accidentally exposes an empty object as Module.ERRNO_CODES
55
Module.ERRNO_CODES = ERRNO_CODES;
66

7-
8-
97
Module['async_init'] = async function(
10-
kernel_root_url,
8+
kernel_root_url,
119
pkg_root_url,
12-
verbose) {
13-
Module['bootstrap_from_empack_packed_environment']
10+
verbose
11+
) {
1412
return Module['bootstrap_from_empack_packed_environment'](
15-
`${kernel_root_url}/empack_env_meta.json`, /* packages_json_url */
16-
pkg_root_url, /* package_tarballs_root_url */
17-
verbose /* verbose */
13+
`${kernel_root_url}/empack_env_meta.json`, /* packages_json_url */
14+
pkg_root_url, /* package_tarballs_root_url */
15+
verbose /* verbose */
1816
);
19-
}
17+
};

0 commit comments

Comments
 (0)