Mercurial > urweb
view tests/ctextbox.ur @ 2250:c275bbc41194
Start work on pure expression caching.
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Sun, 13 Sep 2015 16:02:45 -0400 |
parents | 983d9b38abc7 |
children |
line wrap: on
line source
style foo fun main () : transaction page = s <- source "Initial"; return <xml> <head> <link rel="stylesheet" type="text/css" href="http://localhost/static/style.css"/> </head> <body> <ctextbox source={s} size=5/> <ctextbox class={foo} source={s}/> <dyn signal={s <- signal s; return (cdata s)}/> </body> </xml>