[OpenLayers-Commits] r5676 - trunk/openlayers/lib/OpenLayers/Handler
commits at openlayers.org
commits at openlayers.org
Mon Jan 7 18:49:59 EST 2008
Author: elemoine
Date: 2008-01-07 18:49:59 -0500 (Mon, 07 Jan 2008)
New Revision: 5676
Modified:
trunk/openlayers/lib/OpenLayers/Handler/Click.js
Log:
click handler's cachedEvent property isn't needed. r=tschaub. (closes #1252)
Modified: trunk/openlayers/lib/OpenLayers/Handler/Click.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Handler/Click.js 2008-01-07 23:28:25 UTC (rev 5675)
+++ trunk/openlayers/lib/OpenLayers/Handler/Click.js 2008-01-07 23:49:59 UTC (rev 5676)
@@ -90,13 +90,6 @@
down: null,
/**
- * Property: cachedEvent
- * {Event} Since IE doesn't let us call window.setTimeout with extra
- * arguments, we cache the last click event here.
- */
- cachedEvent: null,
-
- /**
* Constructor: OpenLayers.Handler.Click
* Create a new click handler.
*
@@ -211,7 +204,7 @@
/**
* Method: delayedCall
* Sets <timerId> to null. And optionally triggers the click callback if
- * <cachedEvent> is set.
+ * evt is set.
*/
delayedCall: function(evt) {
this.timerId = null;
More information about the Commits
mailing list