X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=XObject.js;h=a33f49bc58fd20e164defbb40cc373597e711954;hb=ed4af3f1932dceb4d6d98f39c5ce6341509e98d3;hp=d0f682f84650f6cf0f043ac6fd4c935c232165f0;hpb=5f937d4125628843cfd7dd4562de8119172cde02;p=app.Builder.js diff --git a/XObject.js b/XObject.js index d0f682f84..a33f49bc5 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); - } + } @@ -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..