diff options
author | Kevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com> | 2019-08-05 04:23:41 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-08-05 07:23:41 -0400 |
commit | ddee2dff14772ade16e282ad18eda6f5054ce94e (patch) | |
tree | 473cdf935b8d0254a7ab8e0c89fd407201793ac6 /js/core.ts | |
parent | aaa7a3eac4df0de9a93dc8fc4717d38212a3de5b (diff) |
Provide option to delete Deno namespace in worker (#2717)
Diffstat (limited to 'js/core.ts')
-rw-r--r-- | js/core.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/core.ts b/js/core.ts index 03473ff3d..436ba7ccb 100644 --- a/js/core.ts +++ b/js/core.ts @@ -1,4 +1,6 @@ // Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { window } from "./window"; +// This allows us to access core in API even if we +// dispose window.Deno export const core = window.Deno.core as DenoCore; |