You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using mespeak with firefox the console is filled with warnings.
The below is an example using the mespeak.full.js library so that I could see where these are
...
SyntaxError: unreachable code after return statement mespeak.full.js:4167:4
SyntaxError: unreachable code after return statement mespeak.full.js:4376:4
SyntaxError: unreachable code after return statement mespeak.full.js:4386:4
SyntaxError: unreachable code after return statement mespeak.full.js:4413:4
SyntaxError: unreachable code after return statement mespeak.full.js:5232:4
SyntaxError: unreachable code after return statement mespeak.full.js:5301:4
SyntaxError: unreachable code after return statement mespeak.full.js:5375:4
SyntaxError: unreachable code after return statement mespeak.full.js:5448:4
SyntaxError: unreachable code after return statement mespeak.full.js:5558:4
SyntaxError: unreachable code after return statement mespeak.full.js:5606:4
SyntaxError: unreachable code after return statement mespeak.full.js:5640:4
...
An example of code from mespeak.full.js showing why this happens follows
;
return; //@line 846 "wavegen.cpp"
return;
There are lots of these double return statements throughout the file and it is very annoying when using the library with FireFox. Chrome has no problem.
The problem occurs with both the full.js and minified version
Regards
The text was updated successfully, but these errors were encountered:
When using mespeak with firefox the console is filled with warnings.
The below is an example using the mespeak.full.js library so that I could see where these are
...
SyntaxError: unreachable code after return statement mespeak.full.js:4167:4
SyntaxError: unreachable code after return statement mespeak.full.js:4376:4
SyntaxError: unreachable code after return statement mespeak.full.js:4386:4
SyntaxError: unreachable code after return statement mespeak.full.js:4413:4
SyntaxError: unreachable code after return statement mespeak.full.js:5232:4
SyntaxError: unreachable code after return statement mespeak.full.js:5301:4
SyntaxError: unreachable code after return statement mespeak.full.js:5375:4
SyntaxError: unreachable code after return statement mespeak.full.js:5448:4
SyntaxError: unreachable code after return statement mespeak.full.js:5558:4
SyntaxError: unreachable code after return statement mespeak.full.js:5606:4
SyntaxError: unreachable code after return statement mespeak.full.js:5640:4
...
An example of code from mespeak.full.js showing why this happens follows
;
return; //@line 846 "wavegen.cpp"
return;
There are lots of these double return statements throughout the file and it is very annoying when using the library with FireFox. Chrome has no problem.
The problem occurs with both the full.js and minified version
Regards
The text was updated successfully, but these errors were encountered: