summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-12-30 15:53:04 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-12-30 15:53:04 -0500
commitbe73a31fb83c7da398322f6e92e94a7297212b7c (patch)
tree78c801a52c645b6780e00ffc222f2d96e027f2b0 /tests
parent8d3edc5aaa4617dd06623447cf9357067eadc072 (diff)
Propagated a source change into a dynamic document element
Diffstat (limited to 'tests')
-rw-r--r--tests/reactive3.ur7
-rw-r--r--tests/reactive3.urp3
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/reactive3.ur b/tests/reactive3.ur
new file mode 100644
index 00000000..c12455c5
--- /dev/null
+++ b/tests/reactive3.ur
@@ -0,0 +1,7 @@
+fun main () : transaction page =
+ x <- source <xml>TEST</xml>;
+ return <xml><body>
+ <dyn signal={signal x}/>
+ <br/>
+ <a onclick={alert "Changing...."; set x <xml>CHANGEUP</xml>}>Oh My</a>
+ </body></xml>
diff --git a/tests/reactive3.urp b/tests/reactive3.urp
new file mode 100644
index 00000000..8a95bc84
--- /dev/null
+++ b/tests/reactive3.urp
@@ -0,0 +1,3 @@
+debug
+
+reactive3