XObject.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 30 Apr 2010 06:24:31 +0000 (14:24 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 30 Apr 2010 06:24:31 +0000 (14:24 +0800)
XObject.js

index 30a1b18..8a3feb5 100644 (file)
@@ -211,9 +211,9 @@ XObject.prototype = {
         
         
         var item = (o.constructor == XObject) ? o : new XObject(o);
-       print("CTR:PROTO:" + ( item.id ? item.id : '??'));
-        
+       
         item.init();
+        print("CTR:PROTO:" + ( item.id ? item.id : '??'));
         print("addItem - call init [" + item.pack.join(',') + ']');
         print(item.el);
         item.parent = this;