diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-12-30 15:53:04 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-12-30 15:53:04 -0500 |
commit | 603c77259221a3d0c5577d863b2b2c75fbdc6278 (patch) | |
tree | 78c801a52c645b6780e00ffc222f2d96e027f2b0 /tests | |
parent | 77beb6566840b8a31e830f51a8e27e043b47e4cd (diff) |
Propagated a source change into a dynamic document element
Diffstat (limited to 'tests')
-rw-r--r-- | tests/reactive3.ur | 7 | ||||
-rw-r--r-- | tests/reactive3.urp | 3 |
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 |