react-dnd-touch-backend
Advanced tools
Comparing version 0.3.14 to 0.3.15
@@ -48,3 +48,4 @@ /** | ||
// msElementsFromPoint is much faster but returns a node-list, so convert it to an array | ||
return Array.prototype.slice.call(document.msElementsFromPoint(x, y), 0); | ||
var msElements = document.msElementsFromPoint(x, y); | ||
return msElements && Array.prototype.slice.call(msElements, 0); | ||
} | ||
@@ -51,0 +52,0 @@ |
{ | ||
"name": "react-dnd-touch-backend", | ||
"version": "0.3.14", | ||
"version": "0.3.15", | ||
"description": "Touch backend for react-dnd", | ||
@@ -8,3 +8,3 @@ "main": "dist/Touch.js", | ||
"lint": "eslint --quiet --cache . --ext .js --ext .jsx", | ||
"prepublish": "gulp dist", | ||
"prepublishOnly": "gulp dist", | ||
"test": "gulp clean lint", | ||
@@ -31,8 +31,8 @@ "dev": "gulp dev" | ||
"dependencies": { | ||
"react-dnd": "^2.4.0", | ||
"react-dnd": "^2.5.1", | ||
"invariant": "^2.2.2" | ||
}, | ||
"devDependencies": { | ||
"babel-core": "^6.25.0", | ||
"babel-eslint": "^7.2.3", | ||
"babel-core": "^6.26.0", | ||
"babel-eslint": "^8.0.0", | ||
"babel-preset-es2015": "^6.24.1", | ||
@@ -45,4 +45,4 @@ "babel-preset-react": "^6.24.1", | ||
"del": "^3.0.0", | ||
"eslint": "^4.3.0", | ||
"eslint-plugin-react": "^7.1.0", | ||
"eslint": "^4.6.1", | ||
"eslint-plugin-react": "^7.3.0", | ||
"gulp": "^3.9.1", | ||
@@ -49,0 +49,0 @@ "gulp-babel": "^7.0.0", |
@@ -31,3 +31,4 @@ /** | ||
// msElementsFromPoint is much faster but returns a node-list, so convert it to an array | ||
return Array.prototype.slice.call(document.msElementsFromPoint(x, y), 0); | ||
const msElements = document.msElementsFromPoint(x, y); | ||
return msElements && Array.prototype.slice.call(msElements, 0); | ||
} | ||
@@ -34,0 +35,0 @@ |
Sorry, the diff of this file is too big to display
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
287416
1740
13
Updatedreact-dnd@^2.5.1