Format of EJS and JST template files in rails-backbone gem
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am using the rails-backbone gem ( https://github.com/codebrew/backbone-rails ). For rendering HTML, it uses some kind of javascript templates, whose name I cannot tell even after a few hours of search. For example, it generates such a file for the view template: # company.jst.ejs <td><%= name %></td> <td><%= tid %></td> <td><a href="#/<%= _id %>">Show</td> <td><a href="#/<%= _id %>/edit">Edit</td> <td><a href="#/<%= _id %>/destroy" class="destroy">Destroy</a></td> My questions are: what is .jst format? And in Rails 3.1, what library