about summary refs log tree commit diff stats
path: root/src/js
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-01-07 17:39:33 +0100
committerbptato <nincsnevem662@gmail.com>2024-01-07 17:39:33 +0100
commit10a02b2ae2613b383453ba99318330560e9371ac (patch)
treec14e3e5e477d257aa7141483c09a52568e5a9458 /src/js
parent22f127b1124608dc7bcc13165e382bfbaa803764 (diff)
downloadchawan-10a02b2ae2613b383453ba99318330560e9371ac.tar.gz
Use std/* imports everywhere
Diffstat (limited to 'src/js')
-rw-r--r--src/js/domexception.nim2
-rw-r--r--src/js/fromjs.nim10
-rw-r--r--src/js/javascript.nim16
-rw-r--r--src/js/opaque.nim2
-rw-r--r--src/js/regex.nim2
-rw-r--r--src/js/timeout.nim6
6 files changed, 19 insertions, 19 deletions
diff --git a/src/js/domexception.nim b/src/js/domexception.nim
index cd1ea1ba..3d4a4a1e 100644
--- a/src/js/domexception.nim
+++ b/src/js/domexception.nim
@@ -1,4 +1,4 @@
-import tables
+import std/tables
 
 import bindings/quickjs
 import js/error
diff --git a/src/js/fromjs.nim b/src/js/fromjs.nim
index 2ffdb9e2..cf3abc6d 100644
--- a/src/js/fromjs.nim
+++ b/src/js/fromjs.nim
@@ -1,8 +1,8 @@
-import macros
-import options
-import strutils
-import tables
-import unicode
+import std/macros
+import std/options
+import std/strutils
+import std/tables
+import std/unicode
 
 import bindings/quickjs
 import io/promise
diff --git a/src/js/javascript.nim b/src/js/javascript.nim
index 3575bdf7..56ba8fd3 100644
--- a/src/js/javascript.nim
+++ b/src/js/javascript.nim
@@ -35,14 +35,14 @@
 # {.jspropnames.} overrides get_own_property_names. Must return a
 #   JSPropertyEnumList object.
 
-import macros
-import options
-import sets
-import streams
-import strformat
-import strutils
-import tables
-import unicode
+import std/macros
+import std/options
+import std/sets
+import std/streams
+import std/strformat
+import std/strutils
+import std/tables
+import std/unicode
 
 import js/error
 import js/fromjs
diff --git a/src/js/opaque.nim b/src/js/opaque.nim
index b1035815..135b6994 100644
--- a/src/js/opaque.nim
+++ b/src/js/opaque.nim
@@ -1,4 +1,4 @@
-import tables
+import std/tables
 
 import bindings/quickjs
 import js/error
diff --git a/src/js/regex.nim b/src/js/regex.nim
index d73e6e2b..cbf24134 100644
--- a/src/js/regex.nim
+++ b/src/js/regex.nim
@@ -1,5 +1,5 @@
 # Interface for QuickJS libregexp.
-import unicode
+import std/unicode
 
 import bindings/libregexp
 import bindings/quickjs
diff --git a/src/js/timeout.nim b/src/js/timeout.nim
index 4657ac35..8ef7c114 100644
--- a/src/js/timeout.nim
+++ b/src/js/timeout.nim
@@ -1,6 +1,6 @@
-import selectors
-import streams
-import tables
+import std/selectors
+import std/streams
+import std/tables
 
 import js/javascript