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

Rendering large views with ejs and live-binding.

$
0
0
Hey,

I've prepared a little example of a year- calendar-view (with very little css).

In this example I'm creating 365 divs. In these divs I need to put some todos on some dates.

I've tried to do this by grepping the model list within the ejs. But if the model gets bigger I'm creating some very bad loops (400 todos x 365 days)

Does anybody has an idea how to accomplish this so that the live-binding will work if I put another todo in the model-list?

Example: http://jsfiddle.net/xKc3H/77/



Viewing all articles
Browse latest Browse all 3491

Trending Articles