[OpenLayers-Commits] r12193 - trunk/openlayers/lib/OpenLayers/Handler

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Wed Jul 27 07:36:34 EDT 2011


Author: fredj
Date: 2011-07-27 04:36:33 -0700 (Wed, 27 Jul 2011)
New Revision: 12193

Modified:
   trunk/openlayers/lib/OpenLayers/Handler/Click.js
   trunk/openlayers/lib/OpenLayers/Handler/Pinch.js
Log:
fixed APIdocs. Non-functional change

Modified: trunk/openlayers/lib/OpenLayers/Handler/Click.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Handler/Click.js	2011-07-26 14:02:05 UTC (rev 12192)
+++ trunk/openlayers/lib/OpenLayers/Handler/Click.js	2011-07-27 11:36:33 UTC (rev 12193)
@@ -184,6 +184,9 @@
      * Method: touchend
      *   Correctly set event xy property, and add lastTouches to have
      *   touches property from last touchstart or touchmove
+     *
+     * Returns:
+     * {Boolean} Continue propagating this event.
      */
     touchend: function(evt) {
         // touchstart may not have been allowed to propagate

Modified: trunk/openlayers/lib/OpenLayers/Handler/Pinch.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Handler/Pinch.js	2011-07-26 14:02:05 UTC (rev 12192)
+++ trunk/openlayers/lib/OpenLayers/Handler/Pinch.js	2011-07-27 11:36:33 UTC (rev 12193)
@@ -194,6 +194,9 @@
      *
      * Parameters:
      * touches - {Array(Object)}
+     *
+     * Returns:
+     * {Number} The distance in pixels.
      */
     getDistance: function(touches) {
         var t0 = touches[0];



More information about the Commits mailing list