From e1e8946a5baf255db88b5490c3804d09308ff4d9 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 1 Dec 2010 16:45:09 +0800 Subject: [PATCH 1/1] Introspect/Class.js --- Introspect/Class.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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(); -- 2.39.2