about summary refs log tree commit diff stats
path: root/src/js
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-05-01 20:01:03 +0200
committerbptato <nincsnevem662@gmail.com>2024-05-01 20:06:56 +0200
commit3cc7f9d2131c5d6bb866da8d517391a249edd6c7 (patch)
tree4f84dd986b6642b5cb90f934d855011cc4d7a978 /src/js
parentf848a910814842a4c6b164f7b1f0898e74083abe (diff)
downloadchawan-3cc7f9d2131c5d6bb866da8d517391a249edd6c7.tar.gz
cssparser: refactor
* factor out skipWhitespace
* remove streams dependency

(cssparser could never stream without blocking the event loop, so we
were just passing a StringStream in all cases, which made the whole
streaming pointless.)
Diffstat (limited to 'src/js')
-rw-r--r--src/js/encoding.nim2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/js/encoding.nim b/src/js/encoding.nim
index df4043b5..cfcf8f07 100644
--- a/src/js/encoding.nim
+++ b/src/js/encoding.nim
@@ -1,5 +1,3 @@
-import std/streams
-
 import bindings/quickjs
 import js/error
 import js/javascript