• jaubourg's avatar
    $.ajax now always returns an object implementing the Promise interface. Fixes... · 395612bb
    jaubourg authored
    $.ajax now always returns an object implementing the Promise interface. Fixes #10944. Unit tests amended.
    For back-compat, in case of an early abort, callbacks passed in the options are not called (while subsequent callbacks attached to the returned Promise are).
    For early abort triggered by returning false in beforeSend, statusText is "canceled".
    395612bb
Name
Last commit
Last update
..
ajax.js Loading commit data...
attributes.js Loading commit data...
callbacks.js Loading commit data...
core.js Loading commit data...
css.js Loading commit data...
data.js Loading commit data...
deferred.js Loading commit data...
dimensions.js Loading commit data...
effects.js Loading commit data...
event.js Loading commit data...
exports.js Loading commit data...
manipulation.js Loading commit data...
offset.js Loading commit data...
queue.js Loading commit data...
selector.js Loading commit data...
support.js Loading commit data...
traversing.js Loading commit data...