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