• 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
build Loading commit data...
speed Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
GPL-LICENSE.txt Loading commit data...
MIT-LICENSE.txt Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
version.txt Loading commit data...