I am basically trying to do this However the problem here is that the javascript refers to "document" and other terms which can be used with the browser but which when being executed through rhino cause an error. What is (if any) a way around for this? I looked into envjs but I'm not sure it can be used to solve the above problem.If it can,can a link to the appropriate sources be provided?
|