Google Groups

Starting up


John Wright Nov 30, 2011 7:51 AM
Posted in group: Env.js
Hey there,

I'm just trying to a have a quick play with Envjs to see if I could
use it as a JS unit testing suite within Symfony.

I downloaded the "all you'll need" 1.2 release and tried to load it
with rhino... however, nothing really happened and I'm not getting any
errors. I can't seem to find anyone else with this problem (which is
worrying). Here's what I'm doing:

 $ ls
env.rhino.1.2.js

 $ js
Rhino 1.7 release 3 2011 05 09
js> load("env.rhino.1.2.js");
js> window
js: uncaught JavaScript runtime exception: ReferenceError: "window" is
not defined.

js> Envjs
js: uncaught JavaScript runtime exception: ReferenceError: "Envjs" is
not defined.

Anyone got a clue what might be wrong?

John