Sample/Window.js
authorAlan Knowles <alan@akkbhome.com>
Wed, 1 Dec 2010 14:08:28 +0000 (22:08 +0800)
committerAlan Knowles <alan@akkbhome.com>
Wed, 1 Dec 2010 14:08:28 +0000 (22:08 +0800)
Sample/Window.js

index c2a7950..2775cdb 100644 (file)
@@ -3308,9 +3308,11 @@ Window=new XObject({
                                                                         // does something similar to xobject..
                                                                         item.pack = (typeof(item.pack) == 'undefined') ?  'add' : item.pack;
                                                                         
+                                                                        // pack is forced to 'false'
                                                                         if (item.pack===false || item.pack === 'false') {  // no ;
                                                                             return;
                                                                         }
+                                                                        
                                                                         print("CREATE: " + item['|xns'] + '.' + item['xtype']);
                                                                         
                                                                         
@@ -3372,6 +3374,7 @@ Window=new XObject({
                                                                         var pack_m  = false;
                                                                         if (!item.pack && altctr) {
                                                                             // try XObject.
+                                                                            print("SETTING PACK TO XObjectBase method");
                                                                             pack_m = altctr.prototype.pack;