diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2017-11-08 20:51:00 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2017-11-08 20:51:00 +0800 |
commit | d36093ab29e13e0b35f1462c78c3cf1156395d7c (patch) | |
tree | c3f710401e8b88e6f02b9f60fc6701f8b72b01d8 /ffi/js | |
parent | 4298239423fbabae5476ee292b932048f823711d (diff) | |
download | dexon-bls-d36093ab29e13e0b35f1462c78c3cf1156395d7c.tar dexon-bls-d36093ab29e13e0b35f1462c78c3cf1156395d7c.tar.gz dexon-bls-d36093ab29e13e0b35f1462c78c3cf1156395d7c.tar.bz2 dexon-bls-d36093ab29e13e0b35f1462c78c3cf1156395d7c.tar.lz dexon-bls-d36093ab29e13e0b35f1462c78c3cf1156395d7c.tar.xz dexon-bls-d36093ab29e13e0b35f1462c78c3cf1156395d7c.tar.zst dexon-bls-d36093ab29e13e0b35f1462c78c3cf1156395d7c.zip |
[js] fix how to build bls-wasm
Diffstat (limited to 'ffi/js')
-rw-r--r-- | ffi/js/pre.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ffi/js/pre.js b/ffi/js/pre.js new file mode 100644 index 0000000..20b649b --- /dev/null +++ b/ffi/js/pre.js @@ -0,0 +1,5 @@ +if (typeof __dirname === 'string') { + var Module = {} + Module.wasmBinaryFile = __dirname + '/bls_c.wasm' +} + |