event-facade-dom-touch.js revision 77f5d24250296732876cd61c7c43b8443e652565
var SCALE = "scale",
ROTATION = "rotation",
IDENTIFIER = "identifier";
Y.log("Calling facade._touch() with e = " + e);
if (e.touches) {
Y.log("Found e.touches. Replicating on facade");
this.touches = [];
touchCache = {};
}
}
if (e.targetTouches) {
Y.log("Found e.targetTouches. Replicating on facade");
this.targetTouches = [];
et = e.targetTouches[i];
}
}
if (e.changedTouches) {
Y.log("Found e.changedTouches. Replicating on facade");
this.changedTouches = [];
et = e.changedTouches[i];
}
}
if (SCALE in e) {
}
if (ROTATION in e) {
}
if (IDENTIFIER in e) {
this[IDENTIFIER] = e[IDENTIFIER];
}
};
if (Y.Node.DOM_EVENTS) {
touchstart:1,
touchmove:1,
touchend:1,
touchcancel:1,
gesturestart:1,
});
}