mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-17 12:53:24 +00:00
6e127b25e2
When the lightbox is opened, or prev/next pressed, preloads the previous/next N images. Technical debt introduced: * initialization is a mess, with the viewer and the interface randomly setting properties on each other in different phases of execution. That got in the way and I shuffled things around until they worked, which is obviously not the way to have a robust system, but hopefully it will get scrapped soon anyway in favor of a clean top-down dependency injection. Change-Id: Idcb5c40de1ac0b3e482decd66e56c4de8ec71b6b Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/155 |
||
---|---|---|
.. | ||
img | ||
model | ||
provider | ||
ui | ||
mmv.base.js | ||
mmv.js | ||
mmv.less | ||
mmv.lightboximage.js | ||
mmv.lightboxinterface.js | ||
mmv.logger.js | ||
mmv.multilightbox.js | ||
mmv.performance.js | ||
mmv.ThumbnailWidthCalculator.js |