* Implement _prototype property for wrapped java objects.

This commit is contained in:
hns 2005-09-16 14:32:34 +00:00
parent fb1f5154e4
commit b5f128a341

View file

@ -181,6 +181,10 @@ public class JavaObject extends NativeJavaObject {
return new FunctionObject(name, (Method) obj, this); return new FunctionObject(name, (Method) obj, this);
} }
if ("_prototype".equals(name)) {
return protoName;
}
return super.get(name, start); return super.get(name, start);
} }