view tests/onerrorJs.ur @ 2143:4895c41b2ec6

Make naughtyDebug use protocol-specific logging
author Adam Chlipala <adam@chlipala.net>
date Sun, 10 May 2015 12:13:12 -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/>