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..
].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");
},