Builder/Provider/File/Roo.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 7 Jun 2010 09:57:55 +0000 (17:57 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 7 Jun 2010 09:57:55 +0000 (17:57 +0800)
Builder/Provider/File/Roo.js

index 883ae25..6ffe05f 100755 (executable)
@@ -105,7 +105,7 @@ Roo = XObject.define(
                 print("loaded data");
                 console.dump(cfg);
                 
-                _this.name = cfg.name;
+                _this.name = cfg.name.replace(/\.bjs/, ''); // BC!
                 _this.parent =  cfg.parent;
                 _this.title =  cfg.title;
                 _this.items = cfg.items || [];