mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-23 23:24:39 +00:00
build: Update eslint-config-wikimedia to 0.11.0
Change-Id: I80e2707d9954f8549aa0241f4c7f64eb2644ec93
This commit is contained in:
parent
43b6b89ce6
commit
1627dadcab
|
@ -26,7 +26,7 @@
|
||||||
"babel-loader": "8.0.4",
|
"babel-loader": "8.0.4",
|
||||||
"bundlesize": "0.17.0",
|
"bundlesize": "0.17.0",
|
||||||
"clean-webpack-plugin": "1.0.0",
|
"clean-webpack-plugin": "1.0.0",
|
||||||
"eslint-config-wikimedia": "0.10.0",
|
"eslint-config-wikimedia": "0.11.0",
|
||||||
"grunt": "1.0.3",
|
"grunt": "1.0.3",
|
||||||
"grunt-banana-checker": "0.6.0",
|
"grunt-banana-checker": "0.6.0",
|
||||||
"grunt-contrib-watch": "1.1.0",
|
"grunt-contrib-watch": "1.1.0",
|
||||||
|
|
BIN
resources/dist/index.js.map.json
vendored
BIN
resources/dist/index.js.map.json
vendored
Binary file not shown.
|
@ -29,11 +29,11 @@ function createFooterLink() {
|
||||||
|
|
||||||
// From https://en.wikipedia.org/wiki/MediaWiki:Gadget-ReferenceTooltips.js,
|
// From https://en.wikipedia.org/wiki/MediaWiki:Gadget-ReferenceTooltips.js,
|
||||||
// which was written by Yair rand <https://en.wikipedia.org/wiki/User:Yair_rand>.
|
// which was written by Yair rand <https://en.wikipedia.org/wiki/User:Yair_rand>.
|
||||||
// eslint-disable-next-line jquery/no-global-selector
|
// eslint-disable-next-line no-jquery/no-global-selector
|
||||||
let $footer = $( '#footer-places, #f-list' );
|
let $footer = $( '#footer-places, #f-list' );
|
||||||
|
|
||||||
if ( $footer.length === 0 ) {
|
if ( $footer.length === 0 ) {
|
||||||
// eslint-disable-next-line jquery/no-global-selector
|
// eslint-disable-next-line no-jquery/no-global-selector
|
||||||
$footer = $( '#footer li' ).parent();
|
$footer = $( '#footer li' ).parent();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -130,7 +130,7 @@ function getSelectedSetting( $el ) {
|
||||||
* @return {void}
|
* @return {void}
|
||||||
*/
|
*/
|
||||||
function toggleHelp( $el, visible ) {
|
function toggleHelp( $el, visible ) {
|
||||||
// eslint-disable-next-line jquery/no-global-selector
|
// eslint-disable-next-line no-jquery/no-global-selector
|
||||||
const $dialog = $( '#mwe-popups-settings' ),
|
const $dialog = $( '#mwe-popups-settings' ),
|
||||||
formSelectors = 'main, .save, .close',
|
formSelectors = 'main, .save, .close',
|
||||||
helpSelectors = '.mwe-popups-settings-help, .okay';
|
helpSelectors = '.mwe-popups-settings-help, .okay';
|
||||||
|
|
Loading…
Reference in a new issue