I am having problems with can.view.render. I assumed it returns a string of html but it returns a document fragment.
See following example:
The table looks good, but if you inspect it you'd see it didn't append my cells into the rows.
It looks like this:
<table>
<tr></tr>
<td><td>
<td></td>
<tr></tr>
<td></td>
...
</table>
If I change my code to this, it works but I think that is not right way of working:
- var $row = $(can.view.render('#tpl_row', {}).firstChild);