view tests/onerrorJs.ur @ 1811:9913c81bdbef

Fixed memory leak in dynClass
author Vladimir Shabanov <vshabanoff@gmail.com>
date Thu, 30 Aug 2012 17:00:18 +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/>