diff options
author | bptato <nincsnevem662@gmail.com> | 2023-10-21 20:22:21 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-10-21 20:22:21 +0200 |
commit | 69870f3b974e65d61b564b396e01d21cc023e6e9 (patch) | |
tree | f773f5446a2232739c4818080e467851deabb4f8 /src/html/env.nim | |
parent | f77db0bdefd43ec03d7d26ec7a5d793bece25030 (diff) | |
download | chawan-69870f3b974e65d61b564b396e01d21cc023e6e9.tar.gz |
javascript: add TextEncoder, TextDecoder
Diffstat (limited to 'src/html/env.nim')
-rw-r--r-- | src/html/env.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/html/env.nim b/src/html/env.nim index 6046ee2b..d300400b 100644 --- a/src/html/env.nim +++ b/src/html/env.nim @@ -9,6 +9,7 @@ import io/promise import js/base64 import js/console import js/domexception +import js/encoding import js/error import js/intl import js/javascript @@ -144,6 +145,7 @@ proc addScripting*(window: Window, selector: Selector[int]) = ctx.addHeadersModule() ctx.addRequestModule() ctx.addResponseModule() + ctx.addEncodingModule() proc runJSJobs*(window: Window) = window.jsrt.runJSJobs(window.console.err) |