Commit graph

4 commits

Author SHA1 Message Date
vlw
f6729d3746 doc: add "neat stuff" example to README 2024-12-04 08:45:50 +00:00
68116c3b09 Replace HTMLCollection with NodeList (#1)
I had some weird notion that `querySelectorAll` would return an `HTMLCollection` and not a `NodeList`.

```js
[...document.querySelectorAll()].forEach(element => {});
```
> Maybe I was doing this for no reason before, since `NodeList` already inherits the Array `forEach()` method...

Reviewed-on: https://codeberg.org/vlw/elevent/pulls/1
Co-authored-by: Victor Westerlund <victor.vesterlund@gmail.com>
Co-committed-by: Victor Westerlund <victor.vesterlund@gmail.com>
2024-09-13 11:49:15 +00:00
vlw
fb2b376921 doc: add README 2024-09-13 09:16:29 +00:00
c602dbe39d Initial commit 2024-09-11 12:25:18 +00:00