ACK_DISTANCE = 5;
var TRACK_LENGTH = 2;
var MOUSE_TIMEOUT = 500;
var MOUSE_EVENTS = [ "mousedown", "mousemove", "mouseup", "click" ];
var mouseCanceller = function(mouseEvent) {
mouseEvent[HANDLED_OBJ] = {
skip: true
};
if (mouseEvent.type === "click") {
var path = Polymer.dom(mouseEvent).path;
for (var i = 0; i < path.length; i++) {
if (path[i] === POINTERSTATE.mouse.target) {
return;
}
}
mouseEvent.preventDefault();
mouseEvent.stopPropagation();
}
};
function ignoreMouse(set) {
if (set && POINTERSTATE.tou