changed examples
This commit is contained in:
parent
8c47a30f8e
commit
d52e9a2800
|
@ -1,3 +1,2 @@
|
||||||
(wisp
|
(document
|
||||||
(document
|
(text "Hello, world!"))
|
||||||
(text "Hello, World!")))
|
|
|
@ -1,12 +1,8 @@
|
||||||
(wisp
|
(metadata (title "Hi there!"))
|
||||||
(metadata
|
(on-update '())
|
||||||
(title "Hi there!"))
|
(on-load '())
|
||||||
(on-update '())
|
(document
|
||||||
(on-load '())
|
(text "Hello, world!")
|
||||||
(document
|
(image (link "ablecorp.us/img.png"))
|
||||||
(text "Hello, World!")
|
(button :text "Click Me!!"
|
||||||
(image
|
:callback (fn [])))
|
||||||
(link "ablecorp.us/img.png"))
|
|
||||||
(button :text "Click Me!!"
|
|
||||||
:callback
|
|
||||||
(lambda '()))))
|
|
|
@ -1,4 +1,6 @@
|
||||||
(wisp
|
(style
|
||||||
(style :id 1 '(:size 12 ))
|
:id 1
|
||||||
(document
|
{ :size 12})
|
||||||
(text :style 1 "Hello, World!")))
|
|
||||||
|
(document
|
||||||
|
(text :style 1 "Hello, world!"))
|
||||||
|
|
Loading…
Reference in a new issue