This project has moved. For the latest updates, please go here.

jQuery deferred object support

Feb 9, 2012 at 8:07 AM
Edited Feb 16, 2012 at 10:22 AM


Anything in the works with respect to support for jQuery deferred object ( ? If not, it would be a good idea to work on this (I am planning to) as from jQuery 1.8 onwards, the support for success() and error() objects in $.ajax will be deprecated and replaced by deferred .done() and .fail(), from what I know.

Not just for compatibility, the deferred object has a lot of advantages over how jQuery $.ajax works currently. Something like this:

var request = $.get("http://url");

request.done(function(response) {
  // something here on success

// Some other operation
doSomethingElse(); {
  // something here when the request fails

request.done(function(response) {
  // More stuff on success


Feb 15, 2012 at 7:19 PM


Frankly, I haven't even thought about it. I've been focused on getting v0.7.1 out the door.