Commit graph

138 commits

Author SHA1 Message Date
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
2a4b7d88dd
Fix error in skooma 2022-04-12 22:35:44 +02:00
fdc7fca7e7
Remove promise handling from skooma.js
This was really just feature creep and doesn't have to be part of
skooma. It could easily be implemented as an independent function or
module.
2022-04-06 00:40:37 +02:00
6b1eb69ba6
Document skooma dataset property 2022-04-06 00:40:15 +02:00
b514fa638b
Document function arguments 2022-04-06 00:36:21 +02:00
e56a9a164d Refactor pqueue and add more features 2022-03-31 16:17:41 +02:00
8ea23e620d Add pqueue helper (untested) 2022-03-31 15:36:48 +02:00
cdaeac1a9f
Add mechanism for custom built-in elements
Note: Fuck Javascript
2022-03-26 14:14:07 +01:00
3724b3e25d
Add explicit empty value to skooma
Optional arguments in skooma can be very annoying at times:

	html.span("foo: ", may_return_undefined())

Skooma will produce a warning to inform the user that one of their
arguments is undefined as is is often unintended.
The new `empty` value provides a mechanism to explicitly ignore a single
argument, should it be optional

	html.span("foo: ", may_return_undefined() || empty)
2022-03-26 12:49:02 +01:00
53a5b95493
Add check for null in skooma as well 2022-03-26 12:36:39 +01:00
f6556d369a
Handle undefined arguments without crashing in skooma 2022-03-26 12:23:34 +01:00
ca600401ed Document listener 2022-03-17 09:49:57 +01:00
5e19b2d70f Add return values to listen and forget methods 2022-03-17 09:49:25 +01:00
07304c8cbd Rewrite listener 2022-03-16 16:45:48 +01:00
357af9342d
Add instance-map for element dollar-methods 2022-03-13 12:01:03 +01:00
8d9820cffe
Refactor element a bit 2022-03-12 19:51:33 +01:00
c3a19d7af8
Add insert and replace methods to element 2022-03-12 19:09:08 +01:00
70c702efc7
Add element helper 2022-03-10 05:59:59 +01:00
737fb6d155 Turn __raw into static listener.raw 2022-02-15 15:50:20 +01:00
a2d2b42c76
Refactor Better.js 2022-02-08 19:00:18 +01:00
550c917b08 Add "running" property to debounce wrapper 2022-02-08 15:27:55 +01:00
364ada6a45 Add cancellability to debounce wrapper 2022-02-08 15:21:41 +01:00
c0a9d7465d Add debounce.js 2022-02-08 14:50:32 +01:00
5512c955e5 Refactor CSS and add "style" function 2022-02-08 13:14:20 +01:00
7c6e231d09
Rework skooma.bind function 2022-02-06 12:56:54 +01:00