diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2018-12-07 05:01:15 +1100 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-12-06 10:01:15 -0800 |
commit | 6cc89b9e272440d93b6354f098031c3a22803686 (patch) | |
tree | 4589fb19088386f049ed8c6f488386772dd27684 /js/fetch.ts | |
parent | 60c008d23b2bdad333711b43148a5053e83a62cc (diff) |
Use alternate TextEncoder/TextDecoder implementation (#1281)
This is faster and smaller.
Diffstat (limited to 'js/fetch.ts')
-rw-r--r-- | js/fetch.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/fetch.ts b/js/fetch.ts index 06ed5dbca..58e16f8ee 100644 --- a/js/fetch.ts +++ b/js/fetch.ts @@ -4,7 +4,7 @@ import * as flatbuffers from "./flatbuffers"; import { sendAsync } from "./dispatch"; import * as msg from "gen/msg_generated"; import * as domTypes from "./dom_types"; -import { TextDecoder } from "./text_encoding"; +import { TextDecoder, TextEncoder } from "./text_encoding"; import { DenoBlob } from "./blob"; import { Headers } from "./headers"; import * as io from "./io"; |