summaryrefslogtreecommitdiff
path: root/js/globals.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2019-01-29 11:41:28 +1000
committerRyan Dahl <ry@tinyclouds.org>2019-01-28 20:41:28 -0500
commitee9c627cc5f92898d104e9359059b57354c9f83c (patch)
tree397428aa26133100e78565755a8b8db169c12131 /js/globals.ts
parentf7c0f4944352f5bd2bb04d6c64e6259357d3827a (diff)
Split out compiler snapshot (#1566)
Speeds up startup time, reduces runtime heap size.
Diffstat (limited to 'js/globals.ts')
-rw-r--r--js/globals.ts3
1 files changed, 0 insertions, 3 deletions
diff --git a/js/globals.ts b/js/globals.ts
index 706d6cd15..e45aee9e2 100644
--- a/js/globals.ts
+++ b/js/globals.ts
@@ -94,6 +94,3 @@ window.TextDecoder = textEncoding.TextDecoder;
export type TextDecoder = textEncoding.TextDecoder;
window.workerMain = workers.workerMain;
-// TODO These shouldn't be available in main isolate.
-window.postMessage = workers.postMessage;
-window.close = workers.workerClose;