blob: 90bd422efe8fc3672bdef33135dd2ada7f5219a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/**
* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/
*/
onmessage = function (event) {
switch (event.data) {
case "start":
import("./dynamicImport_nested.mjs").then(m => postMessage(m.message));
break;
default:
throw new Error("Bad message: " + event.data);
}
};
|