projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
995be0e
)
builder.html.js
author
Alan Knowles
<alan@akbkhome.com>
Fri, 11 Jun 2010 03:37:49 +0000
(11:37 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 11 Jun 2010 03:37:49 +0000
(11:37 +0800)
builder.html.js
patch
|
blob
|
history
diff --git
a/builder.html.js
b/builder.html.js
index
c7d539f
..
fc556e7
100644
(file)
--- a/
builder.html.js
+++ b/
builder.html.js
@@
-258,13
+258,13
@@
Builder = {
var xi = xitems[i];
if (typeof(xi['*prop']) != 'undefined') {
var xi = xitems[i];
if (typeof(xi['*prop']) != 'undefined') {
- console.log('adding prop:' + xi['*prop']);
+
//
console.log('adding prop:' + xi['*prop']);
var pr = xi['*prop'];
this.munge(xi);
// if prop is an array - then it's items are really the value..
if (pr.match(/\[\]$/)) {
var pr = xi['*prop'];
this.munge(xi);
// if prop is an array - then it's items are really the value..
if (pr.match(/\[\]$/)) {
- console.log('adding array?:' + pr);
+
//
console.log('adding array?:' + pr);
pr = pr.replace(/\[\]$/, '');
cfg[pr] = cfg[pr] || [];
cfg[pr].push(xi);
pr = pr.replace(/\[\]$/, '');
cfg[pr] = cfg[pr] || [];
cfg[pr].push(xi);
@@
-275,7
+275,7
@@
Builder = {
if (xi.xtype && xi.xtype == 'Array') {
cfg[pr] = xi.items;
} else {
if (xi.xtype && xi.xtype == 'Array') {
cfg[pr] = xi.items;
} else {
- console.log('setting property:' + pr);
+
//
console.log('setting property:' + pr);
cfg[pr] = xi;
}
cfg[pr] = xi;
}