@any-touch/doubletap
Advanced tools
Comparing version 2.0.2 to 2.0.3-alpha.0
@@ -1,2 +0,2 @@ | ||
import t from"@any-touch/tap";var e=window.setTimeout;function a(a){a.use(t,{name:"doubletap",tapTimes:2});var o,u=a.get("doubletap");return a.beforeEach((function(t,a){"tap"===t?(clearTimeout(o),o=e((function(){[0,2].includes(u.state)&&a()}),300)):a()})),u}export{a as default}; | ||
import t from"@any-touch/tap";const{setTimeout:e}=window;function o(o){o.use(t,{name:"doubletap",tapTimes:2});const a=o.get("doubletap");let u;return o.beforeEach(((t,o)=>{"tap"===t?(clearTimeout(u),u=e((()=>{[0,2].includes(a.state)&&o()}),300)):o()})),a}export{o as default}; | ||
//# sourceMappingURL=index.es.js.map |
{ | ||
"name": "@any-touch/doubletap", | ||
"version": "2.0.2", | ||
"version": "2.0.3-alpha.0", | ||
"description": "any-touch的识别器, 用来识别双击手势, 是Tap识别器的一个特例", | ||
@@ -11,5 +11,5 @@ "main": "./dist/index", | ||
"dependencies": { | ||
"@any-touch/compute": "^2.0.2", | ||
"@any-touch/shared": "^2.0.2", | ||
"@any-touch/vector": "^2.0.2" | ||
"@any-touch/compute": "^2.0.3-alpha.0", | ||
"@any-touch/shared": "^2.0.3-alpha.0", | ||
"@any-touch/vector": "^2.0.3-alpha.0" | ||
}, | ||
@@ -23,3 +23,3 @@ "files": [ | ||
"sideEffects": false, | ||
"gitHead": "7df4617ecb8b89c720ce9747cdd77554c4966a88" | ||
"gitHead": "e53ab5c44a400b04b0de853a9358303007f67e8e" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
6859
3