Comparing version 0.3.0 to 0.3.1
@@ -231,3 +231,5 @@ import _extends from 'babel-runtime/helpers/extends'; | ||
this.container.addEventListener('touchmove', this.onTouchMove = function (e) { | ||
e.preventDefault(); | ||
if (_this2.options.preventDefaultOnTouchMove !== false) { | ||
e.preventDefault(); | ||
} | ||
that.scroller.doTouchMove(e.touches, e.timeStamp, e.scale); | ||
@@ -234,0 +236,0 @@ }, false); |
@@ -244,3 +244,5 @@ 'use strict'; | ||
this.container.addEventListener('touchmove', this.onTouchMove = function (e) { | ||
e.preventDefault(); | ||
if (_this2.options.preventDefaultOnTouchMove !== false) { | ||
e.preventDefault(); | ||
} | ||
that.scroller.doTouchMove(e.touches, e.timeStamp, e.scale); | ||
@@ -247,0 +249,0 @@ }, false); |
{ | ||
"name": "zscroller", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "dom scroller based on zynga scroller", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
116553
2822
0