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:
9bc3b93
)
builder.html.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 10 May 2010 04:45:30 +0000
(12:45 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 10 May 2010 04:45:30 +0000
(12:45 +0800)
builder.html.js
patch
|
blob
|
history
diff --git
a/builder.html.js
b/builder.html.js
index
703b202
..
d88aa41
100644
(file)
--- a/
builder.html.js
+++ b/
builder.html.js
@@
-215,13
+215,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);
@@
-232,7
+232,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;
}