annotate tests/dtable.ur @ 2235:0aae15c2a05a
Refactored a lot and fixed an and/or swap, but still not good on current test.
author |
Ziv Scully <ziv@mit.edu> |
date |
Mon, 29 Jun 2015 01:33:47 -0700 |
parents |
25a038a9194b |
children |
|
rev |
line source |
adamc@899
|
1 fun main () =
|
adamc@899
|
2 s <- source <xml><tr><td>A</td><td>A'</td></tr></xml>;
|
adamc@899
|
3 return <xml><body>
|
adamc@899
|
4 <button value="Click me!" onclick={set s <xml><tr><td>B</td><td>B'</td></tr><tr><td>C</td><td>C'</td></tr></xml>}/><br/>
|
adamc@899
|
5 <table><tr><td>Pre</td><td>Pre'</td></tr><dyn signal={signal s}/><tr><td>Post</td><td>Post</td><td>Post'</td></tr></table>
|
adamc@899
|
6 </body></xml>
|