https://bugzilla.wikimedia.org/show_bug.cgi?id=36783

Krinkle <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|JavaScript                  |mw.Api should use its own
                   |mw.api.prototype.ajax       |$.Deferred for ok/err; and
                   |should return an instance   |return that instead of
                   |of jQuery.Deferred rather   |jqXHR's Deferred
                   |than jqXHR                  |

--- Comment #2 from Krinkle <[email protected]> 2012-05-15 08:53:51 UTC ---
Ah, I get what you mean now. Those methods tie into the ajax response directly,
whereas the ok/err callbacks from mw.Api do some Api specific post-processing
first.

So yeah, we should indeed create our own Deferred object that waits for jqXHR's
promise first.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to