changed "node" to "hopobject" for generic object prototype
This commit is contained in:
parent
42cc2d9ffb
commit
343e354c77
1 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@ public class TypeManager implements Runnable, EcmaScriptTreeConstants {
|
||||||
proto = new Prototype (protoDir, app);
|
proto = new Prototype (protoDir, app);
|
||||||
registerPrototype (list[i], protoDir, proto);
|
registerPrototype (list[i], protoDir, proto);
|
||||||
prototypes.put (list[i], proto);
|
prototypes.put (list[i], proto);
|
||||||
if ("node".equalsIgnoreCase (list[i]))
|
if ("hopobject".equalsIgnoreCase (list[i]))
|
||||||
nodeProto = proto;
|
nodeProto = proto;
|
||||||
// give logger thread a chance to tell what's going on
|
// give logger thread a chance to tell what's going on
|
||||||
Thread.yield();
|
Thread.yield();
|
||||||
|
@ -159,7 +159,7 @@ public class TypeManager implements Runnable, EcmaScriptTreeConstants {
|
||||||
op = reval.esUserPrototype;
|
op = reval.esUserPrototype;
|
||||||
else if ("global".equalsIgnoreCase (name))
|
else if ("global".equalsIgnoreCase (name))
|
||||||
op = reval.global;
|
op = reval.global;
|
||||||
else if ("node".equalsIgnoreCase (name))
|
else if ("hopobject".equalsIgnoreCase (name))
|
||||||
op = reval.esNodePrototype;
|
op = reval.esNodePrototype;
|
||||||
else {
|
else {
|
||||||
op = new ObjectPrototype (reval.esNodePrototype, reval.evaluator);
|
op = new ObjectPrototype (reval.esNodePrototype, reval.evaluator);
|
||||||
|
|
Loading…
Add table
Reference in a new issue