From 7219cc9616841183c4ce30d1580e8ee0ca6b918b Mon Sep 17 00:00:00 2001 From: Daniel Freedman Date: Tue, 12 Nov 2013 16:11:57 -0800 Subject: [PATCH] make sure tapPrevented is copied from pointerevents --- src/dispatcher.js | 1 + src/tap.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dispatcher.js b/src/dispatcher.js index 5fcf682..08bce01 100644 --- a/src/dispatcher.js +++ b/src/dispatcher.js @@ -41,6 +41,7 @@ 'screenY', 'pageX', 'pageY', + 'tapPrevented' ]; var CLONE_DEFAULTS = [ diff --git a/src/tap.js b/src/tap.js index 6b24ef7..e7d3dc1 100644 --- a/src/tap.js +++ b/src/tap.js @@ -35,7 +35,7 @@ */ (function(scope) { var dispatcher = scope.dispatcher; - var pointermap = new scope.PointerMap; + var pointermap = new scope.PointerMap(); var tap = { events: [ 'pointerdown',