From: Alan Knowles Date: Tue, 23 Aug 2011 05:22:51 +0000 (+0800) Subject: JsParser.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=9f81677af40eb7333f3b945e9ad9e4e819bcea24;p=app.Builder.js JsParser.js --- diff --git a/JsParser.js b/JsParser.js index f242a1a13..31218b8d4 100644 --- a/JsParser.js +++ b/JsParser.js @@ -230,7 +230,7 @@ JsParser = XObject.define( this.cfg = this.parseProps(topp); this.cfg.name = this.tokens[3].data; - + this.cfg.type = 'Roo'; // ( { add { this.panel ( { var cfg = this.tokens[7].items[0][0].props.add.val[2].items[2][3].items[0][0].props; @@ -247,6 +247,7 @@ JsParser = XObject.define( var cfg = this.tokens[2].props.create.val[2].items[1][3].items[0][0].props; + his.cfg.type = 'Roo'; //console.dump(this.tokens); //print(JSON.stringify(cfg,null,4)); Seed.quit();