XObject.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 30 Apr 2010 07:01:26 +0000 (15:01 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 30 Apr 2010 07:01:26 +0000 (15:01 +0800)
XObject.js

index 14307da..7ca2dc0 100644 (file)
@@ -65,7 +65,8 @@ function XObject (cfg) {
         this.cfg[i] = cfg[i];
     }
     this.items = this.items || [];
-    
+    // pack can be false!
+    this.pack = typeof(this.pack) == 'undefined' ? ['add'] : this.pack;
     
     
 }