From 8ac5dd43708a12890b84356b84b86020817cfe33 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 10 May 2010 12:44:31 +0800 Subject: [PATCH] builder.html.js --- builder.html.js | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.39.2