changed examples

main
ondra05 2022-07-21 01:11:38 +02:00
parent 290893bb4d
commit 2662107291
3 changed files with 16 additions and 19 deletions

View File

@ -1,3 +1,2 @@
(wisp
(document
(text "Hello, World!")))
(document
(text "Hello, world!"))

View File

@ -1,12 +1,8 @@
(wisp
(metadata
(title "Hi there!"))
(on-update '())
(on-load '())
(document
(text "Hello, World!")
(image
(link "ablecorp.us/img.png"))
(button :text "Click Me!!"
:callback
(lambda '()))))
(metadata (title "Hi there!"))
(on-update '())
(on-load '())
(document
(text "Hello, world!")
(image (link "ablecorp.us/img.png"))
(button :text "Click Me!!"
:callback (fn [])))

View File

@ -1,4 +1,6 @@
(wisp
(style :id 1 '(:size 12 ))
(document
(text :style 1 "Hello, World!")))
(style
:id 1
{ :size 12})
(document
(text :style 1 "Hello, world!"))