mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-28 18:10:06 +00:00
f7925a1a4f
The code to load and set the image was semi-duplicated and scattered in various places. This was the source of defects as this code is called asynchronously and was hard to debug. This change attemps ot consolidate all the image load logic in one place. It also adds sorely needed unit tests. Change-Id: I92eb1c48e2ff0808134e56b4b150e22254eb2d6e |
||
---|---|---|
.. | ||
jquery.scrollTo | ||
jquery.throttle.debounce | ||
mmv | ||
momentjs | ||
multilightbox |