Mercurial > urweb
view tests/onerrorJs.ur @ 2153:39bd1d4007a9
Apply syntax sugar for 'class' attribute to <form> as well
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Mon, 08 Jun 2015 11:11:46 -0400 |
parents | 27e731a65934 |
children |
line wrap: on
line source
fun main n = case n of 0 => error <xml>Zero is bad! <button value="Capische?" onclick={alert "GOOD!"}/></xml> | _ => return <xml/>