Commit graph

26 commits

Author SHA1 Message Date
6f99045d22
Add support for initialisation function to skooma 2023-09-29 15:09:09 +02:00
4e67cba014
Add special case for dataset to skooma templating 2023-09-29 15:09:08 +02:00
742eb36035
Remove preventDefault from inline event listeners 2023-09-29 15:09:08 +02:00
2e1ee0358c
Add prommise support to skooma 2023-09-29 15:09:08 +02:00
f137f8a5b9
Fix typo in skooma 2023-09-29 15:09:08 +02:00
2ac1e0d4b8
Improve skooma attribute handling 2023-09-29 15:09:08 +02:00
8454f21c3a
Add skooma style property for setting inline styles 2023-09-29 15:09:08 +02:00
59f4ba669f
Add has metamethod to proxies
This change allows proxies to be used with `with` for easier HTML/SVG
generation.
2023-09-29 15:09:08 +02:00
cb7ad57874
Make name filtering exclusive to HTML nodes 2023-09-29 15:09:08 +02:00
f8db2ca876
Add special shadowRoot semantics 2023-09-29 15:09:08 +02:00
d670416c7a
Prevent default on skooma event listeners 2023-09-29 15:09:08 +02:00
9f78a9bf14
Add comments documenting what stuff does 2023-09-29 15:09:06 +02:00
578e965c90
Add event listeners to skooma.js 2023-09-29 15:07:59 +02:00
9e475b4924
Fix case of hyphenated skooma elements 2023-09-29 15:07:59 +02:00
f0b56c074c
Remove automatic skooma attribute hyphenation 2023-09-29 15:07:59 +02:00
a1677b151f
Update skooma.js to handle numbers 2023-09-29 15:07:59 +02:00
5a1abac6e8
Fix undefined variable in skooma.js 2023-09-29 15:07:59 +02:00
ada29b303d
Make hyphenation in consistent with browser APIs
Javascript snake-case gets turned into kebab-case in HTML

Change name attribute in example to match
2023-09-29 15:07:57 +02:00
bc251001bc
Fix skooma.js syntax for strict mode 2023-09-29 15:07:48 +02:00
b789242c4c
Extend skooma to support SVG as well as HTML 2023-09-29 15:07:48 +02:00
4aa9a658b4
Fix checking for template objects in skooma.js 2023-09-29 15:07:48 +02:00
46864950b2
Remove uppercase node special case from skooma.js 2023-09-29 15:07:48 +02:00
b626076a04
Rename render to skooma.js 2023-09-29 15:07:48 +02:00
48db8c49f2
Add special case for templates to render script 2023-09-29 15:07:48 +02:00
f740bf3957
Improve HTML render helper 2023-09-29 15:07:48 +02:00
cf4455ca7a
Add skooma-like functional DOM rendering helper 2023-09-29 15:07:48 +02:00