Commit Graph

73 Commits

Author SHA1 Message Date
Talia 2e1ee0358c
Add prommise support to skooma 2023-09-29 15:09:08 +02:00
Talia f137f8a5b9
Fix typo in skooma 2023-09-29 15:09:08 +02:00
Talia 2ac1e0d4b8
Improve skooma attribute handling 2023-09-29 15:09:08 +02:00
Talia 8454f21c3a
Add skooma style property for setting inline styles 2023-09-29 15:09:08 +02:00
Talia 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
Talia cb7ad57874
Make name filtering exclusive to HTML nodes 2023-09-29 15:09:08 +02:00
Talia f8db2ca876
Add special shadowRoot semantics 2023-09-29 15:09:08 +02:00
Talia d670416c7a
Prevent default on skooma event listeners 2023-09-29 15:09:08 +02:00
Talia 9f78a9bf14
Add comments documenting what stuff does 2023-09-29 15:09:06 +02:00
Talia 578e965c90
Add event listeners to skooma.js 2023-09-29 15:07:59 +02:00
Talia 9e475b4924
Fix case of hyphenated skooma elements 2023-09-29 15:07:59 +02:00
Talia f0b56c074c
Remove automatic skooma attribute hyphenation 2023-09-29 15:07:59 +02:00
Talia a1677b151f
Update skooma.js to handle numbers 2023-09-29 15:07:59 +02:00
Talia 5a1abac6e8
Fix undefined variable in skooma.js 2023-09-29 15:07:59 +02:00
Talia 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
Talia bc251001bc
Fix skooma.js syntax for strict mode 2023-09-29 15:07:48 +02:00
Talia b789242c4c
Extend skooma to support SVG as well as HTML 2023-09-29 15:07:48 +02:00
Talia 4aa9a658b4
Fix checking for template objects in skooma.js 2023-09-29 15:07:48 +02:00
Talia 46864950b2
Remove uppercase node special case from skooma.js 2023-09-29 15:07:48 +02:00
Talia b626076a04
Rename render to skooma.js 2023-09-29 15:07:48 +02:00
Talia 48db8c49f2
Add special case for templates to render script 2023-09-29 15:07:48 +02:00
Talia f740bf3957
Improve HTML render helper 2023-09-29 15:07:48 +02:00
Talia cf4455ca7a
Add skooma-like functional DOM rendering helper 2023-09-29 15:07:48 +02:00