summaryrefslogtreecommitdiff
path: root/demo/chat.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2012-07-21 10:12:35 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2012-07-21 10:12:35 -0400
commitda2141fbf28e6173f587ee146acc8f78b7ea8e0d (patch)
tree69937e8dd046f5e3b3ea38f66061cdc8310351bc /demo/chat.ur
parent3e838a5bf95222adb9add226aa3732c3c28633bc (diff)
Update demo code for key/mouse handler change
Diffstat (limited to 'demo/chat.ur')
-rw-r--r--demo/chat.ur2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/chat.ur b/demo/chat.ur
index 9f18e9ef..720130b4 100644
--- a/demo/chat.ur
+++ b/demo/chat.ur
@@ -40,7 +40,7 @@ fun chat id () =
return <xml><body onload={onload ()}>
<h1>{[r.T.Title]}</h1>
- <button value="Send:" onclick={doSpeak ()}/> <ctextbox source={newLine}/>
+ <button value="Send:" onclick={fn _ => doSpeak ()}/> <ctextbox source={newLine}/>
<h2>Messages</h2>