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
Родитель 27d9b80c10
Коммит 85fcb8e2bc
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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)