From 723ce4bb54d33241d6d192fca6a47e2a2fc82090 Mon Sep 17 00:00:00 2001 From: Marc Laval Date: Wed, 5 Mar 2014 10:16:07 +0100 Subject: [PATCH] Fixes #87 Copy paste fail Closes #91 --- hsp/gestures/gesture.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hsp/gestures/gesture.js b/hsp/gestures/gesture.js index 4cd3287..f9576b6 100644 --- a/hsp/gestures/gesture.js +++ b/hsp/gestures/gesture.js @@ -250,7 +250,6 @@ var Gesture = klass({ * @protected */ _addListener : function (eventName, cb) { - //aria.utils.Event.addListener(this.target, eventName, cb); this.callbackMap[eventName] = cb; var addEL = (this.target.addEventListener !== undefined); if (!addEL) { @@ -286,7 +285,6 @@ var Gesture = klass({ * @protected */ _removeListener : function (eventName, cb) { - //aria.utils.Event.removeListener(this.target, eventName, cb); this.callbackMap[eventName] = null; var rmEL = (this.target.removeEventListener !== undefined); if (rmEL) { @@ -333,9 +331,7 @@ var Gesture = klass({ extraData.currentX = position[0].x; extraData.currentY = position[0].y; fakeEvent.detail = extraData; - //aria.utils.Delegate.delegate(fakeEvent); this.evthandler.handleEvent(fakeEvent); - //aria.utils.Delegate.delegate(fakeEvent); event.cancelBubble = fakeEvent.hasStopPropagation; event.returnValue = !fakeEvent.hasPreventDefault; return event.returnValue;