view tests/ahead.ur @ 2012:2b2d07946e65

Fix dynClass for non-<body> contexts
author Adam Chlipala <adam@chlipala.net>
date Sun, 04 May 2014 12:33:44 -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>