2 * Any copyright is dedicated to the Public Domain.
3 * http://creativecommons.org/publicdomain/zero/1.0/
5 onmessage = function (event) {
6 if (event.data.do == "eval") {
9 // eslint-disable-next-line no-eval
15 } else if (event.data.do == "nest") {
16 var worker = new Worker(event.data.uri);
17 if (--event.data.level) {
18 worker.postMessage(event.data);
20 worker.postMessage({ do: "eval" });
22 worker.onmessage = e => {