Skip to content

Commit

Permalink
Refactor: Group top-level variable declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
dieulot committed Feb 16, 2023
1 parent 4d9dcb4 commit 5db196e
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions instantpage.js
Original file line number Diff line number Diff line change
@@ -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() {
Expand Down

0 comments on commit 5db196e

Please sign in to comment.