Utente:Daimona Eaytoy/Massblock.js: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
m fix |
m Altro test... |
||
Riga 133:
// promises, so that the final $.when will resolve after all promises
// have been processed, and not after the first rejection.
talkDone = $.
userDone = $.
blocked++;
Riga 182:
return $.when();
} );
} else {
talkDone.resolve();
}
Riga 230 ⟶ 232:
return $.when();
} );
} else {
talkDone.resolve();
}
$.when( talkDone, userDone ).always( function() {console.log(talkDone.state());console.log(userDone.state());} );
return $.when( talkDone, userDone );
};
|