jupiterjs/jquerymx — Issue #76: 3.2 beta: nested view seems not to work
Author: prinzC
Created: 2011-10-09 23:52:33+00:00
State: open

Well, it seems that nested view does not render.

I've got my main view:

<% $.each(this, function(i, item){ %>
<% view(commonViewsPath + "items/item.ejs", item) %>
<% }) %>

and nestd view item.ejs:

this.attr

It worked with JVMC 3.1
But now i've got notghing inside my main view (though item.ejs is download from server and definitely render is called - I've debuged it in jquery\view\ejs\ejs.js)

if I replace this call of nested view with inline HTML:

<% $.each(this, function(i, item){ %>

item.attr

<% }) %>

I've got what it should be.