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:
acb4447
)
builder.html.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 10 May 2010 04:44:31 +0000
(12:44 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 10 May 2010 04:44:31 +0000
(12:44 +0800)
builder.html.js
patch
|
blob
|
history
diff --git
a/builder.html.js
b/builder.html.js
index
5a66bea
..
ef61a79
100644
(file)
--- a/
builder.html.js
+++ b/
builder.html.js
@@
-216,10
+216,12
@@
Builder = {
var xi = xitems[i];
if (typeof(xi['*prop']) != 'undefined') {
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(/\[\]$/)) {
+ console.log('adding array?' + pr);
pr = pr.replace(/\[\]$/, '');
cfg[pr] = cfg[pr] || [];
cfg[pr].push(xi);