about summary refs log tree commit diff stats
path: root/src/html/env.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-08-28 22:33:31 +0200
committerbptato <nincsnevem662@gmail.com>2023-08-28 22:38:00 +0200
commit1422f3393301cd6105b3939be194c7c119fcf967 (patch)
tree32969f2af8fe5293c13215a84229915a7970e828 /src/html/env.nim
parentba2a62f6d3a2879c9506ea3fb5aa5552fc4674d9 (diff)
downloadchawan-1422f3393301cd6105b3939be194c7c119fcf967.tar.gz
javascript: refactor
Split out parts of the JS module, because it was starting to confuse
the compiler a little.

(Peakmem is back at 750M. Interesting.)
Diffstat (limited to 'src/html/env.nim')
-rw-r--r--src/html/env.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/html/env.nim b/src/html/env.nim
index 82ed163b..0843c1b6 100644
--- a/src/html/env.nim
+++ b/src/html/env.nim
@@ -10,7 +10,8 @@ import io/promise
 import io/request
 import io/response
 import io/window
-import js/exception
+import js/domexception
+import js/error
 import js/intl
 import js/javascript
 import js/timeout