Right now, I have a rejected promise chain:
dfd = $.Deferred();
dfd
.then(function(){}, function(x) {
return x + 1; // 2
})
.then(function(){}, function(x) {
return x + 1; // 3
})
.then(function(){}, function(x) {
log('reject ' + x); // 3
return x + 1; // 4
});
dfd.reject(1)
I wonder how can I resolve it(steer to success handler) down along the .then chain?
Thanks