anima-yocto-touch
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -24,1 +24,5 @@ # History | ||
+ fix bug && optimize | ||
## 1.0.5 | ||
+ 修复兼容一个ios4引起的滚动bug |
{ | ||
"name": "anima-yocto-touch", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "the touch from yocto", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
@@ -16,3 +16,2 @@ var $ = require('anima-yocto-lite'); | ||
touchStartY: 0, | ||
lastTouchIdentifier: 0, | ||
touchBoundary: 10, | ||
@@ -174,10 +173,2 @@ tapDelay: 200, | ||
if (touch.identifier && touch.identifier === yoctoTouch.lastTouchIdentifier) { | ||
event.preventDefault(); | ||
return false; | ||
} | ||
yoctoTouch.lastTouchIdentifier = touch.identifier; | ||
yoctoTouch.updateScrollParent(targetElement); | ||
@@ -184,0 +175,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22652
488