![](https://secure.gravatar.com/avatar/3b21574da3de5cd03e047cfbf7b6177c.jpg?s=120&d=mm&r=g)
26 Jun
2007
26 Jun
'07
7:13 a.m.
On 6/25/07, Red Daly <reddaly@gmail.com> wrote:
If I'm not mistaken, you can now include Javascript with the Parenscript form (js-literal "..."). so (js-literal "class Greeter { var saying = 'hello, world'; }") emits "class Greater ..." in the Javascript source output.
Since a recent patch by Attila you can simply use quote followed by a string to embed literal javascript. (js:js* '(progn (alert "paren") '"alert('js');"))
"alert('paren'); alert('js');"
/Henrik