X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=Introspect%2FClass.js;h=8ded94a5d53dc4cb3d7bef630731e01f95596959;hp=ad2a2cec1fe5af1be84074aa02320414617cc255;hb=e1e8946a5baf255db88b5490c3804d09308ff4d9;hpb=b91b648a373492fd73dbbc2c08830b7a3687d09e diff --git a/Introspect/Class.js b/Introspect/Class.js index ad2a2ce..8ded94a 100644 --- a/Introspect/Class.js +++ b/Introspect/Class.js @@ -56,10 +56,19 @@ Class = XObject.define( this.extendsClasses.push(p); },this); - this.parent.childClasses.push(this.alias); + }, + + addChildClass : function (n) { + this.childClasses.push(n); + if (this.parent) { + this.parent.addChildClass(n); + } + } + + loadImplements : function() { var bb = this.getBI();