Refactor platform handling for web.

This commit is contained in:
Brad Nelson
2022-07-18 20:31:03 -07:00
parent 26e993110b
commit b0c63e7632
3 changed files with 29 additions and 27 deletions

View File

@ -37,6 +37,7 @@ var u8 = new Uint8Array(heap);
var builtins = [];
var opcodes = {};
var objects = [SetEval];
var context = {}; // For later use by platform.
{{sys}}