kripken/speak.js

Compiling speakGenerator.js yields code that does not function and throws a JavaScript error.

Opened this issue · 1 comments

When I compile speakGenerator.js, I get no compiler errors. However, when executing the resulting code, I get the following JavaScript error:

FS.root.contents['wav.wav'] is undefined.

I've rewritten the following portion of speakGenerator.js generated:

-if (Module['noInitialRun']) {
-   shouldRunNow = false;
-}
-run();