Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : can.view.render returns document fragments instead of strings

$
0
0
can.Stache works with document fragments where can.Mustache works with strings.

In the case of what you're seeing here, you probably aren't noticing that wrapping a document fragment with a jQuery creates a jQuery of the fragment, not of its element children.  using $row.children.append($cell) seems to get at what you're after.


Viewing all articles
Browse latest Browse all 3491

Trending Articles