JSDOC/RooFile.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 23 Aug 2011 04:42:11 +0000 (12:42 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 23 Aug 2011 04:42:11 +0000 (12:42 +0800)
JSDOC/RooFile.js

index 23f6442..538ffc1 100644 (file)
@@ -256,6 +256,11 @@ RooFile  =  XObject.define(
             if (pos < 0)  {
                 throw "Can not find XObject";
             }
+            this.cfg.name = this.tokens[pos-3].data;
+            
+            var cfg = this.tokens[pos+1].items[0][0].props;
+            this.cfg.items = [ this.parseProps(cfg) ];
+            
             print(JSON.stringify(this.tokens[pos]));
             
             print(JSON.stringify(this.tokens,null,4)); Seed.quit();