Reposting from the Lift mailing list.
j_ before what are also reserved words in Scala. So,
j_false. The same is true for
As you can see with
JsVar with 0 to n parameters, without writing
Call("var_name", params0, ...). I guess that the experimental Dynamic trait could be added to the pimped
RichJsVar, of course) but that’s probably going a bit far! ;-)
I’ve also added a bunch of implicits, both for my pimped classes but also to convert
JsExp. Lift already has a conversion the other way around but there isn’t one in this direction. I’m not sure if there is no implicit for a good reason. Perhaps this will break things?
Where is this wonderful code, you ask? Why, it’s a simple Gist: https://gist.github.com/1028437!
I look forward to your comments!