[EMAIL PROTECTED] wrote:
orlikowski    2004/08/05 12:32:10

  Modified:    src/org/apache/bsf/engines/javascript JavaScriptEngine.java
  Log:
  RE-altering this, as per Igor's suggestion.
  *However*, ScriptRuntime.emptyArgs is inconvertible to Scriptable.
  For now, we create a throwaway BaseFunction.

Sorry for wrong suggesting: I misread that null for arguments array while in fact that null was for scope. Please replace that null by global:


ScriptRuntime.call(cx, fun, global, args, global);

Regards, Igor

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to