view tests/ahead.ur @ 2039:3d10ae22abd6

Default 'jsFunc' for less-safe FFI
author Adam Chlipala <adam@chlipala.net>
date Wed, 16 Jul 2014 04:06:11 -0400
parents 44f607a7f4cd
children
line wrap: on
line source
fun main () : transaction page = return <xml>
  <head>
    <script code={alert "Hi!"}/>
  </head>
  <body>
    <active code={alert "Bye!"; return <xml/>}/>
  </body>
</xml>