From: Alan Knowles Date: Wed, 1 Dec 2010 08:45:09 +0000 (+0800) Subject: Introspect/Class.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=e1e8946a5baf255db88b5490c3804d09308ff4d9 Introspect/Class.js --- 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();