diff options
author | bptato <nincsnevem662@gmail.com> | 2022-01-24 17:22:50 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-01-24 17:22:50 +0100 |
commit | cd8ca0faa258a3387f9875c7a6f534743b45f817 (patch) | |
tree | dce2d7a45969664cae90f96f32e33d6e8011a07f /src/css/select.nim | |
parent | 7cb534fd1fb2cbd0a338ba22457e18ba8cb57f78 (diff) | |
download | chawan-cd8ca0faa258a3387f9875c7a6f534743b45f817.tar.gz |
Refactor
Diffstat (limited to 'src/css/select.nim')
-rw-r--r-- | src/css/select.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/css/select.nim b/src/css/select.nim index 1bd45dcd..94cdd96f 100644 --- a/src/css/select.nim +++ b/src/css/select.nim @@ -187,7 +187,7 @@ func selectElems(document: Document, selectors: SelectorList): seq[Element] = result = result.filter((elem) => selectorMatches(elem, sellist[i]).psuccess) inc i -proc querySelector*(document: Document, q: string): seq[Element] = +proc querySelector(document: Document, q: string): seq[Element] = let ss = newStringStream(q) let cvals = parseListOfComponentValues(ss) let selectors = parseSelectors(cvals) |