From 5db196e2f986c491d0685dd6702d361d8a2fca91 Mon Sep 17 00:00:00 2001 From: Alexandre Dieulot Date: Thu, 16 Feb 2023 04:08:03 +0100 Subject: [PATCH] Refactor: Group top-level variable declarations --- instantpage.js | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/instantpage.js b/instantpage.js index aa1dff1..5425ad1 100644 --- a/instantpage.js +++ b/instantpage.js @@ -1,19 +1,16 @@ /*! instant.page v5.1.1 - (C) 2019-2023 Alexandre Dieulot - https://instant.page/license */ -let _mouseoverTimer -let _lastTouchTimestamp -const _preloadedList = new Set() - -let _allowQueryString -let _allowExternalLinks -let _useWhitelist +let _chromiumMajorVersionClientHint = null + , _allowQueryString + , _allowExternalLinks + , _useWhitelist + , _delayOnHover = 65 + , _lastTouchTimestamp + , _mouseoverTimer + , _preloadedList = new Set() const DELAY_TO_NOT_BE_CONSIDERED_A_TOUCH_INITIATED_ACTION = 1111 -let _delayOnHover = 65 - -let _chromiumMajorVersionClientHint = null - init() function init() {