summaryrefslogtreecommitdiff
path: root/cli/js/main.ts
blob: fbebfefe4247f25f6d375ee4ea71fab8ae02e88b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { bootstrapMainRuntime } from "./runtime_main.ts";
import { bootstrapWorkerRuntime } from "./runtime_worker.ts";

Object.defineProperties(globalThis, {
  bootstrapMainRuntime: {
    value: bootstrapMainRuntime,
    enumerable: false,
    writable: false,
    configurable: false
  },
  bootstrapWorkerRuntime: {
    value: bootstrapWorkerRuntime,
    enumerable: false,
    writable: false,
    configurable: false
  }
});