summaryrefslogtreecommitdiff
path: root/cli/js/web/fetch.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-03-11 15:49:53 +0100
committerGitHub <noreply@github.com>2020-03-11 15:49:53 +0100
commit2d1b39bef339edb19ae6be5fb2099e685cee93bb (patch)
tree4e1664f50e079e2f258d86cb0e4a1160fb6b3d7b /cli/js/web/fetch.ts
parent99a0c6df79b903e4fe72ce066787039bdede3868 (diff)
reorg: remove dispatch.ts, move signals, factor out web utils (#4316)
- moves signal definition from "cli/js/process.ts" to "cli/js/signals.ts" - removes "cli/js/dispatch.ts" - removes "cli/js/types.ts" - moves web specific utilities to "cli/js/web/util.ts"
Diffstat (limited to 'cli/js/web/fetch.ts')
-rw-r--r--cli/js/web/fetch.ts8
1 files changed, 2 insertions, 6 deletions
diff --git a/cli/js/web/fetch.ts b/cli/js/web/fetch.ts
index d9918ba14..daa926e51 100644
--- a/cli/js/web/fetch.ts
+++ b/cli/js/web/fetch.ts
@@ -1,10 +1,6 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-import {
- assert,
- createResolvable,
- notImplemented,
- isTypedArray
-} from "../util.ts";
+import { assert, createResolvable, notImplemented } from "../util.ts";
+import { isTypedArray } from "./util.ts";
import * as domTypes from "./dom_types.ts";
import { TextDecoder, TextEncoder } from "./text_encoding.ts";
import { DenoBlob, bytesSymbol as blobBytesSymbol } from "./blob.ts";