Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide custom dcgp.wasm path #2

Closed
mikeheddes opened this issue Mar 4, 2019 · 0 comments
Closed

Provide custom dcgp.wasm path #2

mikeheddes opened this issue Mar 4, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mikeheddes
Copy link
Contributor

Currently dcgp.js assumes that the dcgp.wasm file is in the current directory or in the root folder of the server. I would like to let the user of this library decide where the dcgp.wasm file should be stored. This could come in handy when using this library together with webpack to create a web app.

The limitation factor in this issue is the by emscripten created glue code dcgp.js. A start has been made in the index.js file, see the commented code. This however didn't work because the generated dcgp.wasm file needs some of the generated dcgp.js code.

@mikeheddes mikeheddes added the enhancement New feature or request label Mar 4, 2019
@mikeheddes mikeheddes self-assigned this Mar 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant