embla-carousel
Advanced tools
Comparing version 2.7.3 to 2.7.4
@@ -1419,5 +1419,5 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
function read(evt, axis) { | ||
var isMouse = state.isMouse; | ||
state.isMouse = !evt.touches; | ||
var c = coords[axis]; | ||
var value = isMouse ? evt[c] : evt.touches[0][c]; | ||
var value = state.isMouse ? evt[c] : evt.touches[0][c]; | ||
return pointValue.setNumber(value); | ||
@@ -1427,3 +1427,2 @@ } | ||
function down(evt) { | ||
state.isMouse = !!evt.type.match(/mouse/); | ||
var point = read(evt, 'x'); | ||
@@ -1430,0 +1429,0 @@ startDrag.set(point); |
{ | ||
"name": "embla-carousel", | ||
"version": "2.7.3", | ||
"version": "2.7.4", | ||
"author": "David Cetinkaya", | ||
@@ -5,0 +5,0 @@ "private": false, |
@@ -1135,8 +1135,8 @@ <br /> | ||
<div> | ||
<a href="#scrollby"> | ||
<a href="https://codesandbox.io/s/embla-carousel-scrollby-07cq5"> | ||
<img src="https://rawgit.com/davidcetinkaya/embla-carousel/master/docs/assets/codesandbox-logo.svg" height="23" align="top" /> | ||
</a> | ||
| ||
<a href="#scrollby"> | ||
<code>CodeSandbox (⚠️ Upcoming!)</code> | ||
<a href="https://codesandbox.io/s/embla-carousel-scrollby-07cq5"> | ||
<code>CodeSandbox</code> | ||
</a> | ||
@@ -2028,3 +2028,3 @@ </div> | ||
<img src="https://rawgit.com/davidcetinkaya/embla-carousel/master/docs/assets/codesandbox-logo.svg" height="23" align="top" /> | ||
<a href="https://codesandbox.io/s/embla-carousel-loop-false-oyols"> | ||
<a href="https://codesandbox.io/s/embla-carousel-basic-setup-oyols"> | ||
<code>Basic Setup</code> | ||
@@ -2031,0 +2031,0 @@ </a> |
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
121295
2229