Re: org.mozilla.javascript.EcmaError: TypeError: Cannot find function log

2007-12-19 Thread Christophe Grand
Fredy Mesia a écrit : > Hi everyone, > > I get the error : org.mozilla.javascript.EcmaError: TypeError: Cannot find > function log. (test.js#7) when I execute: > > > cx.evaluateReader(scope, *new* FileReader(*new* File("path/test.js")), " > test.js",

org.mozilla.javascript.EcmaError: TypeError: Cannot find function log

2007-12-19 Thread Fredy Mesia
Hi everyone, I get the error : org.mozilla.javascript.EcmaError: TypeError: Cannot find function log. (test.js#7) when I execute: cx.evaluateReader(scope, *new* FileReader(*new* File("path/test.js")), " test.js", 1, *null*); My test.js looks like that: console.log("