Eric Clemmons
Not a member
Eric Clemmons's latest activity
Wednesday, January 13 2010
86
"load" fails when calling scripts from command-line
was updated
in envjs
-
Eric Clemmons commented at 5:10 PMLighthouse posted two tickets, oddly enough. Solution is in latest.
Sorry about the fail.
-
Eric Clemmons created the ticket at 5:01 PMSuppose I have a script
script.jsthat consists of:load('env-js/dist/env.rhino.js'); print(typeof Envjs);Calling
java -jar env-js/dist/env-js.jar sc...
87
"load" fails when calling scripts from command-line
was updated
in envjs
-
Eric Clemmons commented at 5:09 PMSolution:
I had to turn on Optimization:
java -cp env-js/dist/env-js.jar org.mozilla.javascript.tools.envjs.Main -opt -1 script.js -
Eric Clemmons created the ticket at 5:01 PMSuppose I have a script
script.jsthat consists of:load('env-js/dist/env.rhino.js'); print(typeof Envjs);Calling
java -jar env-js/dist/env-js.jar sc...