From: Alan Knowles Date: Wed, 23 Jun 2010 07:39:11 +0000 (+0800) Subject: Builder/Provider/File/Roo.js X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=commitdiff_plain;h=80ce4fa28393260ca47e80a46f2cc65757f07420 Builder/Provider/File/Roo.js --- diff --git a/Builder/Provider/File/Roo.js b/Builder/Provider/File/Roo.js index 44931996e..74e474d3c 100755 --- a/Builder/Provider/File/Roo.js +++ b/Builder/Provider/File/Roo.js @@ -332,7 +332,7 @@ Roo = XObject.define( var modkey = this.modOrder + '-' + this.name.replace('/[^A-Z]+/ig', '-'); - if (this.name.match(/^Pman/) { + if (this.name.match(/^Pman/)) { // old BC way we did things.. @@ -377,23 +377,23 @@ Roo = XObject.define( ].join("\n"); } - - return [ - this.outputHeader(), - - this.name + " = new Roo.XComponent({", - " order: '" +modkey+"',", - " region : '" + this.region +"',", - " parent : " + (this.parent || 'false') + ",", - " name : " + JSON.stringify(this.title || "unnamed module") + ",", - " disabled : " + (this.disabled || 'false') +" ", - " items : [ ", - o, - " ]", - "});", - "" - - ].join("\n"); + + return [ + this.outputHeader(), + + this.name + " = new Roo.XComponent({", + " order: '" +modkey+"',", + " region : '" + this.region +"',", + " parent : " + (this.parent || 'false') + ",", + " name : " + JSON.stringify(this.title || "unnamed module") + ",", + " disabled : " + (this.disabled || 'false') +" ", + " items : [ ", + o, + " ]", + "});", + "" + + ].join("\n"); },