comparison tests/csdebug.ur @ 1625:bd34a4af516a

Change client-side debug to use console.debug
author Adam Chlipala <adam@chlipala.net>
date Sat, 03 Dec 2011 16:25:09 -0500
parents
children
comparison
equal deleted inserted replaced
1624:f96e708b4b93 1625:bd34a4af516a
1 fun main () : transaction page =
2 n <- source 0;
3 return <xml><body>
4 <button onclick={n' <- get n; set n (n' + 1); debug ("Message: " ^ show n')}/>
5 </body></xml>