Backbone tpl文件语法完整文档

时间:2015-10-05 14:56:49

标签: javascript backbone.js underscore.js

作为Backbone的新手,我尝试找到tpl文件的文档,(或下划线)来回答简单的问题,如:

 <% for(var i in array) { %>
    <% var j = i+1 %>
    // here i want a sum of 2 integer but it is added as 2 strings
 <% } %>

1 个答案:

答案 0 :(得分:0)