Mercurial > urweb
view tests/plink.ur @ 1935:fda9d5af69e7
Only output Content-script-type header when there is client-side code
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Thu, 12 Dec 2013 10:31:34 -0500 |
parents | 71bafe66dbe1 |
children |
line wrap: on
line source
val pA = fn size => <html><body> <font size={size}>Hello World!</font> </body></html> val main : unit -> page = fn () => <html><body> <li> <a link={pA 5}>Size 5</a></li> <li> <a link={pA 10}>Size 10</a></li> </body></html>