From: Alan Knowles Date: Mon, 10 May 2010 04:44:31 +0000 (+0800) Subject: builder.html.js X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=commitdiff_plain;h=8ac5dd43708a12890b84356b84b86020817cfe33 builder.html.js --- diff --git a/builder.html.js b/builder.html.js index 5a66bea5b..ef61a794d 100644 --- 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);