I cloned the repo and tried to run Yslow in Rhino with the following:
java -jar rhino.jar yslow.js http://example.com/
and got this:
In several Google groups some extra parameters were suggested, for example -opt -1 which I tried too.
java -jar rhino.jar yslow.js -opt -1 http://example.com/
Is this a bug or am I doing it wrong? My skills in env.js is too brief for me to find it out myself.
If it works, please describe the correct use with Rhino here and update the README with Rhino instructions.
Rhino is still experimental, thus is not list in the official flavors on README. Moreover it's supposed to work with .har files and not directly fetching URLs.
rhino yslow.js foobar.har
I've just created an issue #21 to finish Rhino support.
Thanks for the reply. Will read more about .har files, then.