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
commit603c77259221a3d0c5577d863b2b2c75fbdc6278 (patch)
tree78c801a52c645b6780e00ffc222f2d96e027f2b0 /tests
parent77beb6566840b8a31e830f51a8e27e043b47e4cd (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