summaryrefslogtreecommitdiff
path: root/platform/javascript/engine/utils.js
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-11-11 10:07:28 +0100
committerGitHub <noreply@github.com>2020-11-11 10:07:28 +0100
commit10fd10759978f01e9152278e905f32c1117d2841 (patch)
tree0fea30ec74363a4c1eb2b69105caf29bb695b130 /platform/javascript/engine/utils.js
parent88d463cabcfe2bf2b0f14e4ad34cb2741b8da686 (diff)
parent179ec3ca0ef909592eece8c907ec0cd855ef5b04 (diff)
Merge pull request #43443 from Faless/js/4.0_audio_worklet
[HTML5] Port inline JS code to libraries, AudioWorklet support.
Diffstat (limited to 'platform/javascript/engine/utils.js')
-rw-r--r--platform/javascript/engine/utils.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/javascript/engine/utils.js b/platform/javascript/engine/utils.js
index 0c97b38199..10e3abe91e 100644
--- a/platform/javascript/engine/utils.js
+++ b/platform/javascript/engine/utils.js
@@ -4,6 +4,8 @@ var Utils = {
function rw(path) {
if (path.endsWith('.worker.js')) {
return execName + '.worker.js';
+ } else if (path.endsWith('.audio.worklet.js')) {
+ return execName + '.audio.worklet.js';
} else if (path.endsWith('.js')) {
return execName + '.js';
} else if (path.endsWith('.wasm')) {