Mercurial > urweb
view tests/babySpawn.ur @ 2227:adb49db02af4
Fix type in flush FFI call to option string (rather than string).
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Tue, 31 Mar 2015 04:10:46 -0400 |
parents | d2383ffc18ab |
children |
line wrap: on
line source
fun main () : transaction page = return <xml><body> <button onclick={fn _ => spawn (alert "Hi")}/> </body></xml>