diff --git a/resources/dist/index.js.map.json b/resources/dist/index.js.map.json index f52c8d864..575bf5d67 100644 Binary files a/resources/dist/index.js.map.json and b/resources/dist/index.js.map.json differ diff --git a/src/index.js b/src/index.js index 82ed7a1f3..bc3f1be75 100644 --- a/src/index.js +++ b/src/index.js @@ -226,7 +226,7 @@ function registerChangeListeners( mw.user, userSettings, mw.config, - // TODO: Is this incompatibility with Firefox 4 intentional? + // Probably a false positive. MediaWiki 1.36 dropped Firefox 4 support anyway. // eslint-disable-next-line compat/compat window.location.href ); diff --git a/src/title.js b/src/title.js index c9e96615e..67dcdcc01 100644 --- a/src/title.js +++ b/src/title.js @@ -9,7 +9,7 @@ * @return {boolean} */ function isOwnPageAnchorLink( el ) { - // TODO: Is this incompatibility with Firefox 4 intentional? + // Probably a false positive. MediaWiki 1.36 dropped Firefox 4 support anyway. /* eslint-disable compat/compat */ return el.hash && // Note: The protocol is ignored for the sake of simplicity. diff --git a/src/ui/renderer.js b/src/ui/renderer.js index beb63a041..3ae1cf30f 100644 --- a/src/ui/renderer.js +++ b/src/ui/renderer.js @@ -517,7 +517,16 @@ export function layoutPreview( ); } - // eslint-disable-next-line mediawiki/class-doc + // The following classes are used here: + // * flipped-x + // * flipped-x-y + // * flipped-y + // * mwe-popups-fade-in-down + // * mwe-popups-fade-in-up + // * mwe-popups-image-pointer + // * mwe-popups-is-not-tall + // * mwe-popups-is-tall + // * mwe-popups-no-image-pointer popup.addClass( classes.join( ' ' ) ); popup.css( { diff --git a/src/ui/thumbnail.js b/src/ui/thumbnail.js index b98760432..dc279534b 100644 --- a/src/ui/thumbnail.js +++ b/src/ui/thumbnail.js @@ -161,7 +161,9 @@ export function createThumbnailSVG( const $thumbnailSVGImage = $( document.createElementNS( nsSvg, 'image' ) ); $thumbnailSVGImage[ 0 ].setAttributeNS( nsXlink, 'href', url ); - // eslint-disable-next-line mediawiki/class-doc + // The following classes are used here: + // * mwe-popups-is-not-tall + // * mwe-popups-is-tall $thumbnailSVGImage .addClass( className ) .attr( {