0

Raffler.Views.EntriesIndex 类扩展 Backbone.View

template:> JST['entries/index']
render: -> $(@el).html(@template( entries: "Entries will list out here" )) this

在 localhost:3000/ 它显示的“”条目将在此处列出“

之后我将行更改为 $(@el).html(@template(entries: "Backbone-on rails"))

服务器重新启动,但“文本没有改变,catch 也被清除。文本没有变化,尝试了 grep -nri “Entries will list out here”,但在代码库中找不到文本。

该目录内部的文件包含该字符串。tmp/cache/assets/development/sprockets/ 这个目录包含字符串“Entries will list out here”

public/assets/application-3eb1f460e083bdc7c3a0194a85735b4e.js 它也包含那个字符串

4

0 回答 0