From ffb5f7a4e1d5d4ac488058ca3ec3c0805587fe44 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Thu, 17 Dec 2020 16:37:57 +0000 Subject: refactor: Rename runtime/rt to runtime/js (#8806) --- runtime/js/00_bootstrap_namespace.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 runtime/js/00_bootstrap_namespace.js (limited to 'runtime/js/00_bootstrap_namespace.js') diff --git a/runtime/js/00_bootstrap_namespace.js b/runtime/js/00_bootstrap_namespace.js new file mode 100644 index 000000000..514cbe3f0 --- /dev/null +++ b/runtime/js/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