【发布时间】:2014-05-12 11:54:34
【问题描述】:
我有一个路由以下列方式调用一系列加载请求:
this
.load('/url/to/template.html')
.then(function(html) {
})
.load('/url/to/partial/template.html')
.then(function(html) {
})
.load('/url/to/partial/template.html')
.then(function(html) {
})
.load('/url/to/json', {json: true})
.then(function(data){
});
如果我切换到另一条路线,有没有办法中止这些请求?
【问题讨论】:
标签: javascript sammy.js