JsParser.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 23 Aug 2011 05:23:05 +0000 (13:23 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 23 Aug 2011 05:23:05 +0000 (13:23 +0800)
JsParser.js

index 31218b8..662895b 100644 (file)
@@ -268,7 +268,7 @@ JsParser  =  XObject.define(
                 throw "Can not find XObject";
             }
             this.cfg.name = this.tokens[pos-3].data;
-            
+            his.cfg.type = 'Gtk';
             var cfg = this.tokens[pos+1].items[0][0].props;
             this.cfg.items = [ this.parseProps(cfg) ];