builder.html.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 10 May 2010 04:44:31 +0000 (12:44 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 10 May 2010 04:44:31 +0000 (12:44 +0800)
builder.html.js

index 5a66bea..ef61a79 100644 (file)
@@ -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);