mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-23 23:24:39 +00:00
Merge "eslint: Enforce no-use-before-define"
This commit is contained in:
commit
6d642c38bd
BIN
resources/dist/index.js
vendored
BIN
resources/dist/index.js
vendored
Binary file not shown.
BIN
resources/dist/index.js.map.json
vendored
BIN
resources/dist/index.js.map.json
vendored
Binary file not shown.
|
@ -18,7 +18,6 @@
|
||||||
"no-jquery/no-when": "error",
|
"no-jquery/no-when": "error",
|
||||||
"no-jquery/no-extend": "error",
|
"no-jquery/no-extend": "error",
|
||||||
"compat/compat": "off",
|
"compat/compat": "off",
|
||||||
"no-use-before-define": "off",
|
|
||||||
"jsdoc/no-undefined-types": "off"
|
"jsdoc/no-undefined-types": "off"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,6 +4,8 @@
|
||||||
|
|
||||||
import { requiresSummary } from '../ui/renderer';
|
import { requiresSummary } from '../ui/renderer';
|
||||||
|
|
||||||
|
const selectors = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Page Preview types as defined in Schema:Popups
|
* Page Preview types as defined in Schema:Popups
|
||||||
* https://meta.wikimedia.org/wiki/Schema:Popups
|
* https://meta.wikimedia.org/wiki/Schema:Popups
|
||||||
|
@ -205,8 +207,6 @@ function getPagePreviewType( type, processedExtract ) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const selectors = [];
|
|
||||||
|
|
||||||
const dwellDelay = {};
|
const dwellDelay = {};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue