summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-11-22 15:30:15 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-11-22 15:30:15 -0500
commitd9388a3d814a8e9a3874b502e5dbc9fc6cecd340 (patch)
treecebfef1afa9861c1cc5fb5263cc438406e0f28a0 /tests
parent8428b2f408fb898b6164fdb431d70db14cb57337 (diff)
grid0 working in IE
Diffstat (limited to 'tests')
-rw-r--r--tests/snest.ur15
-rw-r--r--tests/snest.urp3
-rw-r--r--tests/snest.urs1
3 files changed, 19 insertions, 0 deletions
diff --git a/tests/snest.ur b/tests/snest.ur
new file mode 100644
index 00000000..c7daae3c
--- /dev/null
+++ b/tests/snest.ur
@@ -0,0 +1,15 @@
+fun main () =
+ s1 <- source False;
+ s2 <- source False;
+
+ return <xml><body>
+ <dyn signal={s1 <- signal s1;
+ return (if s1 then
+ <xml><dyn signal={s2 <- signal s2;
+ return <xml>{[s2]}</xml>}/></xml>
+ else
+ <xml>Not yet</xml>)}/>
+ <hr/>
+ <button value="s1" onclick={set s1 True}/>
+ <button value="s2" onclick={set s2 True}/>
+ </body></xml>
diff --git a/tests/snest.urp b/tests/snest.urp
new file mode 100644
index 00000000..3e68a597
--- /dev/null
+++ b/tests/snest.urp
@@ -0,0 +1,3 @@
+debug
+
+snest
diff --git a/tests/snest.urs b/tests/snest.urs
new file mode 100644
index 00000000..6ac44e0b
--- /dev/null
+++ b/tests/snest.urs
@@ -0,0 +1 @@
+val main : unit -> transaction page