From 8aaf10f8a52cccb945fd6526e2fbfab3ac929948 Mon Sep 17 00:00:00 2001 From: joni <johnfshaughnessy@gmail.com> Date: Thu, 7 Jun 2018 11:50:45 -0700 Subject: [PATCH] lint --- src/behaviours/trackpad-scrolling.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/behaviours/trackpad-scrolling.js b/src/behaviours/trackpad-scrolling.js index 02f836006..8cb5baf95 100644 --- a/src/behaviours/trackpad-scrolling.js +++ b/src/behaviours/trackpad-scrolling.js @@ -25,10 +25,9 @@ trackpad_scrolling.prototype = { this.el.removeEventListener(this.move, this.onMove); this.el.removeEventListener(this.end, this.onEnd); }, - onStart: function(e) { + onStart: function() { this.isScrolling = true; }, - onMove: function(e) { if (!this.isScrolling) return; const x = e.detail.axis[0]; @@ -47,7 +46,6 @@ trackpad_scrolling.prototype = { this.x = x; this.y = y; }, - onEnd: function() { this.isScrolling = false; this.x = -10; -- GitLab