
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