CDN test fix
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -153,4 +153,7 @@ Module.createRecognizerWithSpkModel = (model, sampleRate, spkModel) => {
|
|||||||
|
|
||||||
Module.createRecognizerWithGrm = (model, sampleRate, grammar) => {
|
Module.createRecognizerWithGrm = (model, sampleRate, grammar) => {
|
||||||
return recognizer.create(model.obj, sampleRate, 3, grammar, null)
|
return recognizer.create(model.obj, sampleRate, 3, grammar, null)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// See Emscripten issue #21937
|
||||||
|
if (!ENVIRONMENT_IS_PTHREAD) Module['mainScriptUrlOrBlob'] = new Blob([`importScripts('${_scriptName}')`], { type : "text/javascript" })
|
||||||
Reference in New Issue
Block a user