XObject.js
authoralan <alan@alanfast.akbkhome.com>
Thu, 15 Apr 2010 10:39:39 +0000 (18:39 +0800)
committeralan <alan@alanfast.akbkhome.com>
Thu, 15 Apr 2010 10:39:39 +0000 (18:39 +0800)
XObject.js

index 6c20e0c..73ec967 100644 (file)
@@ -55,7 +55,8 @@ function XObject (cfg) {
         this.el = this.el ||  new this.xtype(o);
     }
     
-    if (!this.el && o.xns) 
+    if (!this.el && o.xns) {
+        
         var NS = imports.gi[o.xns];
         if (!NS) {
             Seed.print('Invalid xns: ' + o.xns);
@@ -73,7 +74,6 @@ function XObject (cfg) {
         }
     }
     
-    
     // register it!
     //if (o.xnsid  && o.xid) {
      //   XObject.registry = XObject.registry || { };