c("TX", "TX", "CA", "WI", "MA", "MS", "OH", "OH", "CO", "FL)
结果
api call
sync: function(method, model, options) {
options.dataType = 'jsonp';
options.cache = true;
options.jsonp = 'callback';
options.jsonpCallback = "inflchallcb";
return Backbone.sync(method, model, options);
},
服务器响应
https://url.tld?callback=inflchallcb
带
inflchallcb({...})
导致错误:
Content-Type: text/javascript; charset=utf-8
jquery v 1.11.1 backbone 1.3.3
我不知道。
答案 0 :(得分:1)