Skip to content

Commit

Permalink
Cleanup the post.js (#644)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinRenou authored Nov 5, 2024
1 parent f4590a8 commit 6e84f68
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions wasm_patches/post.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,14 @@ Module.wasmTable = wasmTable;
// Emscripten has a bug where it accidentally exposes an empty object as Module.ERRNO_CODES
Module.ERRNO_CODES = ERRNO_CODES;



Module['async_init'] = async function(
kernel_root_url,
kernel_root_url,
pkg_root_url,
verbose) {
Module['bootstrap_from_empack_packed_environment']
verbose
) {
return Module['bootstrap_from_empack_packed_environment'](
`${kernel_root_url}/empack_env_meta.json`, /* packages_json_url */
pkg_root_url, /* package_tarballs_root_url */
verbose /* verbose */
`${kernel_root_url}/empack_env_meta.json`, /* packages_json_url */
pkg_root_url, /* package_tarballs_root_url */
verbose /* verbose */
);
}
};

0 comments on commit 6e84f68

Please sign in to comment.