Rule alignment fixes for non compliant platforms / Fix for emscripten demo

This commit is contained in:
BenTalagan
2019-11-19 09:54:11 +01:00
parent 3e0150a34f
commit 94677f4af8
6 changed files with 23 additions and 5 deletions
+2
View File
@@ -119,6 +119,8 @@ eSpeakNGWorker.prototype.synthesize_ipa = function (aText, aCallback) {
if (typeof WorkerGlobalScope !== 'undefined') {
var worker;
Module.postRun = Module.postRun || [];
Module.postRun.push(function () {
worker = new eSpeakNGWorker();