From 2e74f164b6dcf0ecbf8dd38fba9fae550d784bd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sun, 13 Dec 2020 19:45:53 +0100 Subject: refactor: deno_runtime crate (#8640) This commit moves Deno JS runtime, ops, permissions and inspector implementation to new "deno_runtime" crate located in "runtime/" directory. Details in "runtime/README.md". Co-authored-by: Ryan Dahl --- runtime/rt/00_bootstrap_namespace.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 runtime/rt/00_bootstrap_namespace.js (limited to 'runtime/rt/00_bootstrap_namespace.js') diff --git a/runtime/rt/00_bootstrap_namespace.js b/runtime/rt/00_bootstrap_namespace.js new file mode 100644 index 000000000..514cbe3f0 --- /dev/null +++ b/runtime/rt/00_bootstrap_namespace.js @@ -0,0 +1,9 @@ +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. + +// The only purpose of this file is to set up "globalThis.__bootstrap" namespace, +// that is used by scripts in this directory to reference exports between +// the files. + +// This namespace is removed during runtime bootstrapping process. + +globalThis.__bootstrap = globalThis.__bootstrap || {}; -- cgit v1.2.3