• jaubourg's avatar
    Fixes #4964. Adds a statusCode object together with a new statusCode method on... · 44fc87f6
    jaubourg authored
    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.
    44fc87f6
ajax.js 50.9 KB