Use passed scope instead of the object parent scope

This commit is contained in:
igor%mir2.org 2003-10-30 16:39:46 +00:00
parent 27d9b80c10
commit 85fcb8e2bc

View File

@ -68,7 +68,7 @@ public class NativeRegExpCtor extends NativeFunction {
{
return args[0];
}
return construct(cx, parent, args);
return construct(cx, scope, args);
}
public Scriptable construct(Context cx, Scriptable scope, Object[] args)