From 2b366496486b55c5922890781d69d918991cf520 Mon Sep 17 00:00:00 2001 From: Dave DeSandro Date: Sun, 19 Dec 2021 12:26:34 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=94=20fix=20lints?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.js | 1 + js/drag.js | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 18469495..8d0d587b 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -19,4 +19,5 @@ module.exports = { 'no-var': 'off', strict: 'off', }, + ignorePatterns: [ 'bower_components' ], }; diff --git a/js/drag.js b/js/drag.js index f2fbafa4..9947d4d3 100644 --- a/js/drag.js +++ b/js/drag.js @@ -51,9 +51,6 @@ proto._touchActionValue = 'pan-y'; // -------------------------- -------------------------- // -var isTouch = 'createTouch' in document; -var isTouchmoveScrollCanceled = false; - proto._createDrag = function() { this.on( 'activate', this.onActivateDrag ); this.on( 'uiChange', this._uiChangeDrag );