Testing making the script runner NOT be a different web worker thread.

This commit is contained in:
Daniel Xie
2016-11-28 16:13:13 -06:00
parent 4687b80256
commit 1efee3b7d6
3 changed files with 16 additions and 5 deletions
+4
View File
@@ -931,6 +931,10 @@ function runScriptsLoop() {
if (workerScripts[i].running == false) {
var ast = Parser(Tokenizer(InputStream(workerScripts[i].code)));
console.log("Starting new script: " + workerScripts[i].name);
console.log("AST of new script:");
console.log(ast);
evaluate(ast, workerScripts[i]);
workerScripts[i].running = true;
}