Builder/Provider/File/Roo.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 4 May 2010 08:07:38 +0000 (16:07 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 4 May 2010 08:07:38 +0000 (16:07 +0800)
Builder/Provider/File/Roo.js

index dea5132..bd20e74 100755 (executable)
@@ -95,14 +95,10 @@ Roo = XObject.define(
                 print("loaded data");
                 console.dump(cfg);
                 
-                _this.items = [ {
-                    '|module' : cfg.name,
-                    '*class' : cfg.name,
-                    '*parent' : cfg.parent,
-                    'title' : cfg.title,
-                    items : cfg.items
-                    }
-                ];
+                _this.name = cfg.name;
+                _this.parent =  cfg.parent;
+                _this.title =  cfg.title;
+                _this.items = cfg.items || []; 
                 cb();
                 /*
                 var tstream =  new JSDOC.TextStream(src);