arget, e.changedTouches[0]);
},
fire: function(type, target, event) {
Gestures.fire(target, type, {
x: event.clientX,
y: event.clientY,
sourceEvent: event
});
}
});
Gestures.register({
name: "track",
touchAction: "none",
deps: [ "mousedown", "touchstart", "touchmove", "touchend" ],
emits: [ "track" ],
info: {
x: 0,
y: 0,
state: "start",
started: false,
moves: [],
addMove: function(move) {
if (this.moves.length > TRACK_LENGTH) {
this.moves.shift();
}
this.moves.push(move);
}
},
clearInfo: function() {
this.i