diff options
Diffstat (limited to 'tests/channel.ur')
-rw-r--r-- | tests/channel.ur | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/channel.ur b/tests/channel.ur new file mode 100644 index 00000000..2ea89e87 --- /dev/null +++ b/tests/channel.ur @@ -0,0 +1,11 @@ +fun main () : transaction page = + ch <- channel; + let + fun onload () = + subscribe ch; + send ch "Hello world!" + in + return <xml><body onload={onload ()}> + + </body></xml> + end |