react-dnd-touch-backend
Advanced tools
Comparing version 0.3.18 to 0.3.19
@@ -62,3 +62,3 @@ /** | ||
// then it should be MouseButton.Left. | ||
return e.button === undefined || e.button !== MouseButton.Left; | ||
return e.button === undefined || e.button === MouseButton.Left; | ||
} | ||
@@ -506,2 +506,4 @@ | ||
return !!node; | ||
}).filter(function (id, index, ids) { | ||
return ids.indexOf(id) === index; | ||
}); | ||
@@ -508,0 +510,0 @@ |
{ | ||
"name": "react-dnd-touch-backend", | ||
"version": "0.3.18", | ||
"version": "0.3.19", | ||
"description": "Touch backend for react-dnd", | ||
@@ -5,0 +5,0 @@ "main": "dist/Touch.js", |
@@ -47,3 +47,3 @@ /** | ||
// then it should be MouseButton.Left. | ||
return e.button === undefined || e.button !== MouseButton.Left; | ||
return e.button === undefined || e.button === MouseButton.Left; | ||
} | ||
@@ -460,3 +460,4 @@ | ||
// Filter off possible null rows | ||
.filter(node => !!node); | ||
.filter(node => !!node) | ||
.filter((id, index, ids) => ids.indexOf(id) === index); | ||
@@ -463,0 +464,0 @@ // Reverse order because dnd-core reverse it before calling the DropTarget drop methods |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
319505
1895