summaryrefslogtreecommitdiff
path: root/js/dispatch.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2019-03-26 23:22:07 +1100
committerRyan Dahl <ry@tinyclouds.org>2019-03-26 08:22:07 -0400
commitc43cfedeba5d6ac96e1b1febed8549e750606e3f (patch)
tree7b3799259895acadf25294704ea03a9465051e9c /js/dispatch.ts
parented2977d3c0e9ab3295a3bb47b844b2953d608197 (diff)
namespace reorg: libdeno and DenoCore to Deno.core (#1998)
Diffstat (limited to 'js/dispatch.ts')
-rw-r--r--js/dispatch.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/dispatch.ts b/js/dispatch.ts
index 2e6cbf10f..3ca0cd799 100644
--- a/js/dispatch.ts
+++ b/js/dispatch.ts
@@ -1,5 +1,5 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-import { window } from "./window";
+import { core } from "./core";
import * as flatbuffers from "./flatbuffers";
import * as msg from "gen/msg_generated";
import * as errors from "./errors";
@@ -39,7 +39,7 @@ function sendInternal(
builder.finish(msg.Base.endBase(builder));
const control = builder.asUint8Array();
- const response = window.DenoCore.dispatch(control, zeroCopy);
+ const response = core.dispatch(control, zeroCopy);
builder.inUse = false;
return [cmdId, response];