diff options
Diffstat (limited to 'Echo/modules/api/mw.echo.api.PromisePrioritizer.js')
-rw-r--r-- | Echo/modules/api/mw.echo.api.PromisePrioritizer.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Echo/modules/api/mw.echo.api.PromisePrioritizer.js b/Echo/modules/api/mw.echo.api.PromisePrioritizer.js index 2c7cda7a..91e3c0b3 100644 --- a/Echo/modules/api/mw.echo.api.PromisePrioritizer.js +++ b/Echo/modules/api/mw.echo.api.PromisePrioritizer.js @@ -1,4 +1,4 @@ -( function ( mw, $ ) { +( function () { /** * Promise prioritizer for API actions. The prioritizer takes * a promise at a time, always prioritizing the latest promise and @@ -23,6 +23,7 @@ /** * Prioritize a promise * + * @external Promise * @param {jQuery.Promise|Promise} promise Promise * @return {jQuery.Promise} The main deferred object that resolves * or rejects when the latest promise is resolved or rejected. @@ -85,4 +86,4 @@ } ); } }; -}( mediaWiki, jQuery ) ); +}() ); |