quantumech

Untitled

Apr 27th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /**
  2.  * This app is meant to demonstrate the ability for Emscripten to link with DLLs
  3.  * at load time
  4.  *
  5.  * This app is meant to be ran in NodeJS, as you can see from the module importing,
  6.  * however you can do this in inline js as well.
  7.  */
  8.  
  9. // Import main module
  10. let Module = require('./main.js')
  11.  
  12. // Import side module
  13. Module.dynamicLibraries = ['library.wasm']
Add Comment
Please, Sign In to add comment