scala> Jx(<ul>{JsVar("it")}</ul>).toJs
res5: net.liftweb.http.js.JsExp =
JsExp(function(it) {var df = document.createDocumentFragment();
var vF1140778587153CG5PNF = document.createElement("ul");
df.appendChild(vF1140778587153CG5PNF);
vF1140778587153CG5PNF.appendChild(document.createTextNode("JsExp(it)"));;
return df;})
You can see that the JsVar in the Jx is getting converted to the string "JsVar(it)" instead of to the actual javascript variable. This is breaking the examples in sections 10.3 and 10.6. A search of the internet tells me both those examples once worked, so I assume something has changed. Is is a bug or a change in expected behaviour? Or have I made some mistake?
matt