$.Deferred();解释
var defer = $.Deferred();
restoreWalk();
//开始走路
var walkPlay = startRun({
transform: 'translateX(' + instanceX + 'px),scale(1,1)',
opacity: 1
}, runTime);
//走路完毕
walkPlay.done(function() {
defer.resolve();
});
return defer;
$.Deferred() 这个的作用是什么哈?求解释~