From: jaubourg Date: Thu, 13 Jan 2011 16:01:25 +0000 (+0100) Subject: Fixes #4964. Adds a statusCode object together with a new statusCode method on the... X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;ds=sidebyside;h=44fc87f66ca54278e37f15885a80c2407036df57;hp=44fc87f66ca54278e37f15885a80c2407036df57;p=jquery.git Fixes #4964. Adds a statusCode object together with a new statusCode method on the jXHR object (deferred behaviour). They accept a map of statusCode/callback(s). Callbacks are fired when the status code of the response correponds to the key (as a success or an error callback depending on how the request completed). Unit tests added. ---