信号返回一个200
. 响应文本是准确的。一切都好。服务器日志根本不返回任何错误。
@model.fetch(
success: (model, resp) =>
console.log 'sucess fetch'
error: (error, object) =>
console.log 'ya done messed up.'
console.log error
console.log object
)
我的对象在其返回.responseText
:
responseText: "<div id='make_it_so'></div>↵<script>↵ $(function() {↵ window.router = new myApp.Routers.QuestionsRouter(↵ {↵ words: {"type":"stuff","word":"this","that":"what","booger":"me","that":"if","fancy":"boo","what":"sois","dog":"son"} ↵ });↵ Backbone.history.start();↵ });↵</script>↵"
标题很好。一切都是好的。这可能是什么原因造成的?我该如何进一步调试呢?