react-tap-event-plugin
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "react-tap-event-plugin", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Facebook's TapEventPlugin, temporarily available on npm until its made public in their repo", | ||
@@ -23,4 +23,4 @@ "main": "src/injectTapEventPlugin.js", | ||
"peerDependencies": { | ||
"react": "^15.0.0-0", | ||
"react-dom": "^15.0.0-0" | ||
"react": "^15.4.0-0", | ||
"react-dom": "^15.4.0-0" | ||
}, | ||
@@ -27,0 +27,0 @@ "dependencies": { |
@@ -135,2 +135,6 @@ /** | ||
if (!isStartish(topLevelType) && !isEndish(topLevelType)) { | ||
return null; | ||
} | ||
if (isTouch(topLevelType)) { | ||
@@ -144,5 +148,2 @@ lastTouchEvent = now(); | ||
if (!isStartish(topLevelType) && !isEndish(topLevelType)) { | ||
return null; | ||
} | ||
var event = null; | ||
@@ -149,0 +150,0 @@ var distance = getDistance(startCoords, nativeEvent); |
9471