diff --git a/.eslintrc.js b/.eslintrc.js index 1846949..8d0d587 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 f2fbafa..9947d4d 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 );