diff --git a/resources/dist/index.js b/resources/dist/index.js index 02fcbac51..d1aa5f72f 100644 Binary files a/resources/dist/index.js and b/resources/dist/index.js differ diff --git a/resources/dist/index.js.map.json b/resources/dist/index.js.map.json index 03ad79b4c..752c937f0 100644 Binary files a/resources/dist/index.js.map.json and b/resources/dist/index.js.map.json differ diff --git a/src/.eslintrc.json b/src/.eslintrc.json index 8636d465d..1c2f62769 100644 --- a/src/.eslintrc.json +++ b/src/.eslintrc.json @@ -18,7 +18,6 @@ "no-jquery/no-when": "error", "no-jquery/no-extend": "error", "compat/compat": "off", - "no-use-before-define": "off", "jsdoc/no-undefined-types": "off" } } diff --git a/src/preview/model.js b/src/preview/model.js index 37b2eb5cd..b37c6a5b4 100644 --- a/src/preview/model.js +++ b/src/preview/model.js @@ -4,6 +4,8 @@ import { requiresSummary } from '../ui/renderer'; +const selectors = []; + /** * Page Preview types as defined in Schema:Popups * https://meta.wikimedia.org/wiki/Schema:Popups @@ -205,8 +207,6 @@ function getPagePreviewType( type, processedExtract ) { } } -const selectors = []; - const dwellDelay = {}; /**