From: Gergő Tisza Date: Tue, 18 Feb 2014 18:55:04 +0000 (+0000) Subject: mediawiki.api: Fix documentation of ajax() to mention exposed jqXHR X-Git-Tag: 1.31.0-rc.0~16824^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22auteur_infos%22%2C%22id_auteur=%24connect_id_auteur%22%29%20.%20%22?a=commitdiff_plain;h=33de55ce45ebe19f72bfd135e22ed92cc76cec7f;p=lhc%2Fweb%2Fwiklou.git mediawiki.api: Fix documentation of ajax() to mention exposed jqXHR Fixes the documentation which got out of sync after I49977b5f9 changed the resolution of the promise to also pass the jqXHR. Change-Id: Ifa9899c1e235af19c3df21337db97cb12b0b5806 --- diff --git a/resources/mediawiki.api/mediawiki.api.js b/resources/mediawiki.api/mediawiki.api.js index 6012d93e36..3032f78f08 100644 --- a/resources/mediawiki.api/mediawiki.api.js +++ b/resources/mediawiki.api/mediawiki.api.js @@ -112,7 +112,8 @@ * * @param {Object} parameters * @param {Object} [ajaxOptions] - * @return {jQuery.Promise} Done: API response data. Fail: Error code + * @return {jQuery.Promise} Done: API response data and the jqXHR object. + * Fail: Error code */ ajax: function ( parameters, ajaxOptions ) { var token,