Permalink
Browse files

wow, js really, really blows

  • Loading branch information...
1 parent 87278b1 commit f30c9cd706462b75a025b9d3695a3b323637ee66 @herbdaily committed Mar 31, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 lib/marley/client/reggae.js
@@ -183,7 +183,7 @@ r.nodeTypes={
pl.each(schema, function(i,col_spec){
var cs=j.copyObj(col_spec);
if (pl.type(col_spec[1], 'obj')) { //this is another instance_list
- cs[1].items=vals;
+ cs[1].items=vals[i];
content.push(cs);
} else {
cs.push(vals[i]);
@@ -198,8 +198,7 @@ r.nodeTypes={
"schema": instance_schema,
"actions": il.attrs.actions
},
- []
- //pl.map(content,function(c){return["div",{},c]})
+ pl.map(content,function(c){return["div",{},c]})
];
});
},

0 comments on commit f30c9cd

Please sign in to comment.