X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=XObject.js;h=05463b0d291ecc904b4f60290696dcd4a8f331ee;hb=603fb40adb3fd20dfb05029bc35557b3d65d40a4;hp=d0f682f84650f6cf0f043ac6fd4c935c232165f0;hpb=5f937d4125628843cfd7dd4562de8119172cde02;p=app.Builder.js diff --git a/XObject.js b/XObject.js index d0f682f84..05463b0d2 100644 --- a/XObject.js +++ b/XObject.js @@ -135,9 +135,7 @@ function XObject (cfg) { _this.items.push(item); //_this.addItem(i); }); - if (this.onConstruct) { - this.onConstruct.call(this); - } + } @@ -714,7 +712,7 @@ XObject.extend(XObject, return ret; }, /** - * return the Gobject name of a constructor + * return the Gobject name of a constructor - does not appear to work on structs.. * @param {Object} gobject ctr * @return {String} returns name * @member XObject type @@ -743,7 +741,7 @@ XObject.extend(XObject, gname = XObject.type(cfg.xtype); } - + print("TRYING BASE OBJECT : " + gname); // in the situation where we have been called and there is a base object // defining the behavior.. // then we should copy the prototypes from the base object into this..