lesca-click
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -135,3 +135,11 @@ "use strict"; | ||
} | ||
}, | ||
getClientXY: function getClientXY(e) { | ||
var left = e.clientX || e.targetTouches[0].clientX; | ||
var top = e.clientY || e.targetTouches[0].clientY; | ||
return { | ||
left: left, | ||
top: top | ||
}; | ||
} | ||
}; |
{ | ||
"name": "lesca-click", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "replace click / touch start on SPY page", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -115,2 +115,7 @@ module.exports = { | ||
}, | ||
getClientXY(e) { | ||
const left = e.clientX || e.targetTouches[0].clientX; | ||
const top = e.clientY || e.targetTouches[0].clientY; | ||
return { left, top }; | ||
}, | ||
}; |
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
13909
309