don't add hopobject as a parent prototype to global
This commit is contained in:
parent
5bd8b44ee7
commit
99b0d50d71
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ public class DocPrototype extends DocDirElement {
|
||||||
parentPrototype = (DocPrototype) parent.getChildElement ("prototype_" + ext);
|
parentPrototype = (DocPrototype) parent.getChildElement ("prototype_" + ext);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (parentPrototype==null && parent!=null) {
|
if (parentPrototype==null && parent!=null && !name.equals("global")) {
|
||||||
// if no _extend was set, get the hopobject prototype
|
// if no _extend was set, get the hopobject prototype
|
||||||
parentPrototype = (DocPrototype) parent.getChildElement ("prototype_hopobject");
|
parentPrototype = (DocPrototype) parent.getChildElement ("prototype_hopobject");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue