Open zackmdavis opened 8 years ago
I remember reading somewhere that chaining .done() and .fail() are preferred over passing success and error arguments to $.ajax on account of being more composable and such.
.done()
.fail()
success
error
$.ajax
I remember reading somewhere that chaining
.done()
and.fail()
are preferred over passingsuccess
anderror
arguments to$.ajax
on account of being more composable and such.