Hi,

I found Rhino can't parse the following line : (The error : ...
missing ")" ...)

win.location.href="/signup?
next_url="+encodeURIComponent(win.location.href.replace(/http:\/\/
[^/]*/,""));

But it can pass, after I change

win.location.href.replace(/http:\/\/[^/]*/,"") to
win.location.href.replace("http:\/\/[^/]*","")

I don't know this is a known bug or not.


Thanks,
nbruce

_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to