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

Re : Mustache vs ejs

$
0
0
EJS can do the same thing, like:


<% list(items, function(){ %>
  <li>....</li>
<% }) %>

It's probably possible in 2.0.2 to turn off binding by doing it in a helper like:

registerHelper("v", function(compute){
  var val = compute();
  can.__clearReadings();
  return val;
})

{{v person.name}}



Viewing all articles
Browse latest Browse all 3491

Trending Articles