From 33de55ce45ebe19f72bfd135e22ed92cc76cec7f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gerg=C5=91=20Tisza?= Date: Tue, 18 Feb 2014 18:55:04 +0000 Subject: [PATCH] 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 --- resources/mediawiki.api/mediawiki.api.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- 2.20.1