any-touch
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -88,3 +88,2 @@ 'use strict'; | ||
var INPUT_END = 'end'; | ||
//# sourceMappingURL=const.js.map | ||
@@ -142,3 +141,2 @@ var EventBus = (function () { | ||
}()); | ||
//# sourceMappingURL=EventBus.js.map | ||
@@ -202,3 +200,2 @@ var round = Math.round; | ||
}; | ||
//# sourceMappingURL=vector.js.map | ||
@@ -216,3 +213,2 @@ var touchAdapter = (function (event) { | ||
}); | ||
//# sourceMappingURL=touch.js.map | ||
@@ -254,3 +250,2 @@ var prevPointers = undefined; | ||
}); | ||
//# sourceMappingURL=mouse.js.map | ||
@@ -306,3 +301,2 @@ var centerX; | ||
}); | ||
//# sourceMappingURL=create.js.map | ||
@@ -343,3 +337,2 @@ var startInput; | ||
}); | ||
//# sourceMappingURL=inputManage.js.map | ||
@@ -375,3 +368,2 @@ var _prevInput; | ||
}); | ||
//# sourceMappingURL=computeLast.js.map | ||
@@ -406,3 +398,2 @@ var prevDisplacementX = 0; | ||
} | ||
//# sourceMappingURL=computeDistance.js.map | ||
@@ -423,3 +414,2 @@ function computeDeltaXY (_a) { | ||
} | ||
//# sourceMappingURL=computeDeltaXY.js.map | ||
@@ -430,3 +420,2 @@ var computeVector = (function (input) { return ({ | ||
}); }); | ||
//# sourceMappingURL=computeVector.js.map | ||
@@ -439,3 +428,2 @@ function computeScale (_a) { | ||
} | ||
//# sourceMappingURL=computeScale.js.map | ||
@@ -448,3 +436,2 @@ function computeAngle (_a) { | ||
} | ||
//# sourceMappingURL=computeAngle.js.map | ||
@@ -462,3 +449,2 @@ var maxLength = 0; | ||
}); | ||
//# sourceMappingURL=computeMaxLength.js.map | ||
@@ -537,3 +523,2 @@ function compute (_a) { | ||
} | ||
//# sourceMappingURL=index.js.map | ||
@@ -579,3 +564,2 @@ var computeTouchAction = (function (touchActions) { | ||
}); | ||
//# sourceMappingURL=computeTouchAction.js.map | ||
@@ -589,3 +573,2 @@ var STATUS_POSSIBLE = 'possible'; | ||
var STATUS_RECOGNIZED = 'recognized'; | ||
//# sourceMappingURL=recognizerStatus.js.map | ||
@@ -719,3 +702,2 @@ var Recognizer = (function () { | ||
}()); | ||
//# sourceMappingURL=Base.js.map | ||
@@ -786,3 +768,2 @@ var setTimeout = window.setTimeout, clearTimeout$1 = window.clearTimeout; | ||
}; | ||
//# sourceMappingURL=Tap.js.map | ||
@@ -840,3 +821,2 @@ var PressRecognizer = (function (_super) { | ||
}; | ||
//# sourceMappingURL=Press.js.map | ||
@@ -874,3 +854,2 @@ var getHV = (function (directions) { | ||
}); | ||
//# sourceMappingURL=getHV.js.map | ||
@@ -901,3 +880,2 @@ var PanRecognizer = (function (_super) { | ||
var isValidThreshold = this.options.threshold < distance; | ||
console.log(this.options.threshold, distance); | ||
return this.isValidPointerLength(pointerLength) && isValidDirection && | ||
@@ -917,3 +895,2 @@ (this.isRecognized || isValidThreshold) && INPUT_MOVE === inputStatus; | ||
}; | ||
//# sourceMappingURL=Pan.js.map | ||
@@ -959,3 +936,2 @@ var SwipeRecognizer = (function (_super) { | ||
}; | ||
//# sourceMappingURL=Swipe.js.map | ||
@@ -992,3 +968,2 @@ var PinchRecognizer = (function (_super) { | ||
}; | ||
//# sourceMappingURL=Pinch.js.map | ||
@@ -1016,3 +991,2 @@ var RotateRecognizer = (function (_super) { | ||
}; | ||
//# sourceMappingURL=Rotate.js.map | ||
@@ -1167,4 +1141,3 @@ var DEFAULT_OPTIONS = { | ||
}()); | ||
//# sourceMappingURL=main.js.map | ||
module.exports = AnyTouch; |
@@ -86,3 +86,2 @@ /*! ***************************************************************************** | ||
var INPUT_END = 'end'; | ||
//# sourceMappingURL=const.js.map | ||
@@ -140,3 +139,2 @@ var EventBus = (function () { | ||
}()); | ||
//# sourceMappingURL=EventBus.js.map | ||
@@ -200,3 +198,2 @@ var round = Math.round; | ||
}; | ||
//# sourceMappingURL=vector.js.map | ||
@@ -214,3 +211,2 @@ var touchAdapter = (function (event) { | ||
}); | ||
//# sourceMappingURL=touch.js.map | ||
@@ -252,3 +248,2 @@ var prevPointers = undefined; | ||
}); | ||
//# sourceMappingURL=mouse.js.map | ||
@@ -304,3 +299,2 @@ var centerX; | ||
}); | ||
//# sourceMappingURL=create.js.map | ||
@@ -341,3 +335,2 @@ var startInput; | ||
}); | ||
//# sourceMappingURL=inputManage.js.map | ||
@@ -373,3 +366,2 @@ var _prevInput; | ||
}); | ||
//# sourceMappingURL=computeLast.js.map | ||
@@ -404,3 +396,2 @@ var prevDisplacementX = 0; | ||
} | ||
//# sourceMappingURL=computeDistance.js.map | ||
@@ -421,3 +412,2 @@ function computeDeltaXY (_a) { | ||
} | ||
//# sourceMappingURL=computeDeltaXY.js.map | ||
@@ -428,3 +418,2 @@ var computeVector = (function (input) { return ({ | ||
}); }); | ||
//# sourceMappingURL=computeVector.js.map | ||
@@ -437,3 +426,2 @@ function computeScale (_a) { | ||
} | ||
//# sourceMappingURL=computeScale.js.map | ||
@@ -446,3 +434,2 @@ function computeAngle (_a) { | ||
} | ||
//# sourceMappingURL=computeAngle.js.map | ||
@@ -460,3 +447,2 @@ var maxLength = 0; | ||
}); | ||
//# sourceMappingURL=computeMaxLength.js.map | ||
@@ -535,3 +521,2 @@ function compute (_a) { | ||
} | ||
//# sourceMappingURL=index.js.map | ||
@@ -577,3 +562,2 @@ var computeTouchAction = (function (touchActions) { | ||
}); | ||
//# sourceMappingURL=computeTouchAction.js.map | ||
@@ -587,3 +571,2 @@ var STATUS_POSSIBLE = 'possible'; | ||
var STATUS_RECOGNIZED = 'recognized'; | ||
//# sourceMappingURL=recognizerStatus.js.map | ||
@@ -717,3 +700,2 @@ var Recognizer = (function () { | ||
}()); | ||
//# sourceMappingURL=Base.js.map | ||
@@ -784,3 +766,2 @@ var setTimeout = window.setTimeout, clearTimeout$1 = window.clearTimeout; | ||
}; | ||
//# sourceMappingURL=Tap.js.map | ||
@@ -838,3 +819,2 @@ var PressRecognizer = (function (_super) { | ||
}; | ||
//# sourceMappingURL=Press.js.map | ||
@@ -872,3 +852,2 @@ var getHV = (function (directions) { | ||
}); | ||
//# sourceMappingURL=getHV.js.map | ||
@@ -899,3 +878,2 @@ var PanRecognizer = (function (_super) { | ||
var isValidThreshold = this.options.threshold < distance; | ||
console.log(this.options.threshold, distance); | ||
return this.isValidPointerLength(pointerLength) && isValidDirection && | ||
@@ -915,3 +893,2 @@ (this.isRecognized || isValidThreshold) && INPUT_MOVE === inputStatus; | ||
}; | ||
//# sourceMappingURL=Pan.js.map | ||
@@ -957,3 +934,2 @@ var SwipeRecognizer = (function (_super) { | ||
}; | ||
//# sourceMappingURL=Swipe.js.map | ||
@@ -990,3 +966,2 @@ var PinchRecognizer = (function (_super) { | ||
}; | ||
//# sourceMappingURL=Pinch.js.map | ||
@@ -1014,3 +989,2 @@ var RotateRecognizer = (function (_super) { | ||
}; | ||
//# sourceMappingURL=Rotate.js.map | ||
@@ -1165,4 +1139,3 @@ var DEFAULT_OPTIONS = { | ||
}()); | ||
//# sourceMappingURL=main.js.map | ||
export default AnyTouch; |
@@ -92,3 +92,2 @@ (function (global, factory) { | ||
var INPUT_END = 'end'; | ||
//# sourceMappingURL=const.js.map | ||
@@ -146,3 +145,2 @@ var EventBus = (function () { | ||
}()); | ||
//# sourceMappingURL=EventBus.js.map | ||
@@ -206,3 +204,2 @@ var round = Math.round; | ||
}; | ||
//# sourceMappingURL=vector.js.map | ||
@@ -220,3 +217,2 @@ var touchAdapter = (function (event) { | ||
}); | ||
//# sourceMappingURL=touch.js.map | ||
@@ -258,3 +254,2 @@ var prevPointers = undefined; | ||
}); | ||
//# sourceMappingURL=mouse.js.map | ||
@@ -310,3 +305,2 @@ var centerX; | ||
}); | ||
//# sourceMappingURL=create.js.map | ||
@@ -347,3 +341,2 @@ var startInput; | ||
}); | ||
//# sourceMappingURL=inputManage.js.map | ||
@@ -379,3 +372,2 @@ var _prevInput; | ||
}); | ||
//# sourceMappingURL=computeLast.js.map | ||
@@ -410,3 +402,2 @@ var prevDisplacementX = 0; | ||
} | ||
//# sourceMappingURL=computeDistance.js.map | ||
@@ -427,3 +418,2 @@ function computeDeltaXY (_a) { | ||
} | ||
//# sourceMappingURL=computeDeltaXY.js.map | ||
@@ -434,3 +424,2 @@ var computeVector = (function (input) { return ({ | ||
}); }); | ||
//# sourceMappingURL=computeVector.js.map | ||
@@ -443,3 +432,2 @@ function computeScale (_a) { | ||
} | ||
//# sourceMappingURL=computeScale.js.map | ||
@@ -452,3 +440,2 @@ function computeAngle (_a) { | ||
} | ||
//# sourceMappingURL=computeAngle.js.map | ||
@@ -466,3 +453,2 @@ var maxLength = 0; | ||
}); | ||
//# sourceMappingURL=computeMaxLength.js.map | ||
@@ -541,3 +527,2 @@ function compute (_a) { | ||
} | ||
//# sourceMappingURL=index.js.map | ||
@@ -583,3 +568,2 @@ var computeTouchAction = (function (touchActions) { | ||
}); | ||
//# sourceMappingURL=computeTouchAction.js.map | ||
@@ -593,3 +577,2 @@ var STATUS_POSSIBLE = 'possible'; | ||
var STATUS_RECOGNIZED = 'recognized'; | ||
//# sourceMappingURL=recognizerStatus.js.map | ||
@@ -723,3 +706,2 @@ var Recognizer = (function () { | ||
}()); | ||
//# sourceMappingURL=Base.js.map | ||
@@ -790,3 +772,2 @@ var setTimeout = window.setTimeout, clearTimeout$1 = window.clearTimeout; | ||
}; | ||
//# sourceMappingURL=Tap.js.map | ||
@@ -844,3 +825,2 @@ var PressRecognizer = (function (_super) { | ||
}; | ||
//# sourceMappingURL=Press.js.map | ||
@@ -878,3 +858,2 @@ var getHV = (function (directions) { | ||
}); | ||
//# sourceMappingURL=getHV.js.map | ||
@@ -905,3 +884,2 @@ var PanRecognizer = (function (_super) { | ||
var isValidThreshold = this.options.threshold < distance; | ||
console.log(this.options.threshold, distance); | ||
return this.isValidPointerLength(pointerLength) && isValidDirection && | ||
@@ -921,3 +899,2 @@ (this.isRecognized || isValidThreshold) && INPUT_MOVE === inputStatus; | ||
}; | ||
//# sourceMappingURL=Pan.js.map | ||
@@ -963,3 +940,2 @@ var SwipeRecognizer = (function (_super) { | ||
}; | ||
//# sourceMappingURL=Swipe.js.map | ||
@@ -996,3 +972,2 @@ var PinchRecognizer = (function (_super) { | ||
}; | ||
//# sourceMappingURL=Pinch.js.map | ||
@@ -1020,3 +995,2 @@ var RotateRecognizer = (function (_super) { | ||
}; | ||
//# sourceMappingURL=Rotate.js.map | ||
@@ -1171,3 +1145,2 @@ var DEFAULT_OPTIONS = { | ||
}()); | ||
//# sourceMappingURL=main.js.map | ||
@@ -1174,0 +1147,0 @@ return AnyTouch; |
{ | ||
"name": "any-touch", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "一个手势库", | ||
@@ -5,0 +5,0 @@ "main": "dist/anyTouch.common.js", |
@@ -42,3 +42,2 @@ import { Computed, directionString } from '../interface'; | ||
const isValidThreshold = this.options.threshold < distance; | ||
console.log(this.options.threshold, distance); | ||
return this.isValidPointerLength(pointerLength) && isValidDirection && | ||
@@ -45,0 +44,0 @@ (this.isRecognized || isValidThreshold) && INPUT_MOVE === inputStatus; |
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
209303
5517