* Implement _prototype property for wrapped java objects.
This commit is contained in:
parent
fb1f5154e4
commit
b5f128a341
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue