summaryrefslogtreecommitdiff
path: root/js/util.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/util.ts')
-rw-r--r--js/util.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/util.ts b/js/util.ts
index da56465a2..86a856170 100644
--- a/js/util.ts
+++ b/js/util.ts
@@ -1,5 +1,7 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-import { TypedArray } from "./types";
+import { TypedArray } from "./types.ts";
+import { window } from "./window.ts";
+const { console } = window;
let logDebug = false;
let logSource = "JS";