Commit graph

9 commits

Author SHA1 Message Date
vlw
f6729d3746 doc: add "neat stuff" example to README 2024-12-04 08:45:50 +00:00
vlw
7f91b8717c chore: bump npm package version 2024-09-18 12:30:08 +00:00
6b7a88fd3d Add license headers and package reference (#2)
This PR adds a license reference to the NPM package declaration, and also adds license headers to the JS module.

Reviewed-on: https://codeberg.org/vlw/elevent/pulls/2
Co-authored-by: Victor Westerlund <victor.vesterlund@gmail.com>
Co-committed-by: Victor Westerlund <victor.vesterlund@gmail.com>
2024-09-18 12:28:45 +00:00
vlw
96c3dfc868 fix(versioning): package version 2024-09-16 13:46:53 +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
ed98dcfec3 fix: npm package version 2024-09-13 10:45:08 +02:00
6f254bf581 Initial code commit 2024-09-11 16:49:29 +02:00
c602dbe39d Initial commit 2024-09-11 12:25:18 +00:00