mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-15 11:59:22 +00:00
93f1c9f79e
This heavily relied on deferreds getting resolved synchroneously, which (for .then) is no longer the case with jQuery 3. There's also a difference in how chained .then's get resolved, and $.when no longer propagates notify(). The changes in here are basically: * fix use of $.when, manually passing along notify() * use .then in some places, instead of .done, .fail, .progress * fix progress bar hiding in setupProgressBar, which assumed sync * fixed tests, mostly by using fake timers to give async stuff a chance to execute Bug: T164473 Change-Id: Ib51ddd8bc6254a477861588fb16f57565353afe1 |
||
---|---|---|
.. | ||
img | ||
logging | ||
model | ||
provider | ||
routing | ||
ui | ||
mmv.base.js | ||
mmv.bootstrap.autostart.js | ||
mmv.bootstrap.js | ||
mmv.bootstrap.less | ||
mmv.Config.js | ||
mmv.EmbedFileFormatter.js | ||
mmv.globals.less | ||
mmv.head.js | ||
mmv.HtmlUtils.js | ||
mmv.js | ||
mmv.lightboximage.js | ||
mmv.lightboxinterface.js | ||
mmv.lightboxinterface.less | ||
mmv.mixins.less | ||
mmv.ThumbnailWidthCalculator.js |