diff options
Diffstat (limited to 'vendor/github.com/dexon-foundation/mcl/ffi/js/pre-mcl.js')
-rw-r--r-- | vendor/github.com/dexon-foundation/mcl/ffi/js/pre-mcl.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/github.com/dexon-foundation/mcl/ffi/js/pre-mcl.js b/vendor/github.com/dexon-foundation/mcl/ffi/js/pre-mcl.js new file mode 100644 index 000000000..ebc93e581 --- /dev/null +++ b/vendor/github.com/dexon-foundation/mcl/ffi/js/pre-mcl.js @@ -0,0 +1,5 @@ +if (typeof __dirname === 'string') { + var Module = {} + Module.wasmBinaryFile = __dirname + '/mcl_c.wasm' +} + |