about summary refs log tree commit diff stats
path: root/src/config
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-05-08 18:39:27 +0200
committerbptato <nincsnevem662@gmail.com>2024-05-08 18:39:27 +0200
commit86f4c56507bc94d03e7d94be6ede884b9e7b5358 (patch)
tree929ce32ada67e8b1d57787d8e6d038fa603fc31e /src/config
parent5c891488423aa7ccbef2fb4332ff6cb4e3c05154 (diff)
downloadchawan-86f4c56507bc94d03e7d94be6ede884b9e7b5358.tar.gz
js: refactor
* prefix to-be-separated modules with js
* remove dynstreams dependency
* untangle from EmptyPromise
* move typeptr into tojs
Diffstat (limited to 'src/config')
-rw-r--r--src/config/chapath.nim2
-rw-r--r--src/config/config.nim6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/config/chapath.nim b/src/config/chapath.nim
index 8bab5070..c02a3f1e 100644
--- a/src/config/chapath.nim
+++ b/src/config/chapath.nim
@@ -2,9 +2,9 @@ import std/options
 import std/os
 import std/posix
 
-import js/error
 import js/fromjs
 import js/javascript
+import js/jserror
 import js/tojs
 import types/opt
 import utils/twtstr
diff --git a/src/config/config.nim b/src/config/config.nim
index 8ff736d0..cb2323cd 100644
--- a/src/config/config.nim
+++ b/src/config/config.nim
@@ -9,13 +9,13 @@ import config/chapath
 import config/mailcap
 import config/mimetypes
 import config/toml
-import js/error
+import js/jserror
 import js/fromjs
 import js/javascript
 import js/jscolor
 import js/jstypes
-import js/propertyenumlist
-import js/regex
+import js/jspropenumlist
+import js/jsregex
 import js/tojs
 import loader/headers
 import types/cell