Commit graph

162 commits

Author SHA1 Message Date
350117ef64 Apply getter-transforms on change functions 2023-10-17 10:34:38 +02:00
f13bccf7a9
Fix two bugs in state.js 2023-09-20 21:20:27 +02:00
f1d3eeb9a2 Fix spelling in state page 2023-09-20 13:36:14 +02:00
1b286aff47 Reword intro of state.js page 2023-09-20 13:32:32 +02:00
6542047b7c Extract map of final values into change event
Cached on first use for performance and more DRY
2023-09-20 13:26:14 +02:00
d62136e180 Add example of storage state breaking identity 2023-09-20 12:58:53 +02:00
24f7cffa82 Add storage change propagation for same-window States
The browser's default storage event only triggers when a change happens
within another window, meaning that different StorageStates sharing the
same storage object would not be informed of each other's updates.
2023-09-20 12:53:40 +02:00
80b88ec647 Document StorageState and MapStorage objects 2023-09-20 11:44:02 +02:00
2c2adba2b6 Fix smaller problems in storage state 2023-09-20 11:24:02 +02:00
8c01bd83ca Move ObjectStorage into state.js as MapStorage 2023-09-20 11:23:06 +02:00
c9da7b116d
Fix syntax error in pqueue 2023-09-19 17:39:11 +02:00
939c564f03
Allow returning text in skooma bind method 2023-09-19 17:39:11 +02:00
8d9dc8ae7f Add some helpful comments to state.js 2023-09-19 16:58:43 +02:00
2e540dbc6f Add StorageState class 2023-09-19 15:38:23 +02:00
287aa98955 Add State library and deprecate speaker & listener 2023-09-18 14:58:40 +02:00
89d4084462 Further refactor code 2023-09-18 11:45:36 +02:00
0e63167c92 Mildly refactor skooma.js 2023-09-18 09:00:12 +02:00
e6e158b2f4 Add better description for skooma/bind 2023-03-06 10:54:34 +01:00
0103592665 Change listener map to weak map 2023-03-06 10:54:20 +01:00
233a96d0e0 Improve skooma warning on undefined arguments 2023-03-01 11:01:49 +01:00
bef3fc5c31
Fix silly bug in deferred method queue 2022-09-17 09:03:24 +02:00
42fa5e8d4d
Document speaker class 2022-07-02 10:55:38 +02:00
e99df6b58f Update module list in readme 2022-07-01 10:02:18 +02:00
1b1351fffa Document pqueue (somewhat) 2022-07-01 10:02:03 +02:00
dcbadde066 Make use.js remove the use attribute to prevent repetition 2022-07-01 09:24:14 +02:00
a1178b916a Update listener example 2022-07-01 09:05:58 +02:00
af137c4b24 Add "view on github" ribbon 2022-06-23 09:28:33 +02:00
849b623f04 Add back-to-index link to all pages 2022-06-23 08:59:19 +02:00
bff1601f18 Change tag line and remove WIP notice 2022-06-23 08:48:17 +02:00
363c50d97d Add table of contents to skooma page 2022-06-22 16:20:23 +02:00
912909836c Refactor filesize component to slot 2022-06-22 16:00:10 +02:00
fe7c27258e Add IDs to headings in skooma page 2022-06-22 15:57:15 +02:00
79362f3414 Remove pointless module loads 2022-06-22 15:55:03 +02:00
2b0e698e8d Make filesize component nicer 2022-06-22 15:53:14 +02:00
5795439ae1 Add fragment helper to skooma.js 2022-06-22 15:51:03 +02:00
2c5f430dc6 Restyle page links from buttons to underlined 2022-06-22 15:04:12 +02:00
93f6a60444 Further update page styles 2022-06-22 14:09:08 +02:00
9d579b1dd3 Add meta helper 2022-06-13 15:43:07 +02:00
cf565c3eaf Fix path in filesize component 2022-06-09 15:11:02 +02:00
56323d9a7b Fix path in scroll-to-top component 2022-06-09 14:48:06 +02:00
ec0edc9864 Change $ in CSS to prefix placeholder 2022-06-09 14:03:19 +02:00
52ec210fc6 Remove console.log from codeblock component 2022-06-09 13:47:31 +02:00
f7f8b9a50b Switch filesize component from better to element 2022-06-09 13:47:09 +02:00
2799f0f2cc Add scroll-to-top button to pages 2022-06-09 13:46:42 +02:00
7d5cffcb79 Update website styling 2022-06-09 13:11:25 +02:00
761533fb39 Fix bug introduced in latest version 2022-04-28 09:11:11 +02:00
cdc5978897
Document the handle helper 2022-04-12 22:44:53 +02:00
f7b945c083
Document the empty constant 2022-04-12 22:41:10 +02:00
f863ef3e7d
Document skooma SVG helper 2022-04-12 22:37:21 +02:00
77cf51f06d
Replace mechanism for creating customized built-in elements 2022-04-12 22:36:35 +02:00