Properly wrap internal __node__ property.
This commit is contained in:
parent
6dcb82dc2f
commit
19d1f286e9
1 changed files with 1 additions and 1 deletions
|
@ -663,7 +663,7 @@ public class HopObject extends ScriptableObject {
|
|||
}
|
||||
|
||||
if ("__node__".equals(name)) {
|
||||
return node;
|
||||
return new NativeJavaObject(core.global, node, null);
|
||||
}
|
||||
|
||||
if ("__created__".equalsIgnoreCase(name)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue