[OpenLayers-Commits] r11174 - trunk/openlayers/lib/OpenLayers

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Mon Feb 21 07:01:17 EST 2011


Author: tschaub
Date: 2011-02-21 04:01:17 -0800 (Mon, 21 Feb 2011)
New Revision: 11174

Modified:
   trunk/openlayers/lib/OpenLayers/BaseTypes.js
Log:
Excuse the bad commit message on r1172.  This change and that one add a reusable empty function.  r=ahocevar (closes #3073)

Modified: trunk/openlayers/lib/OpenLayers/BaseTypes.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/BaseTypes.js	2011-02-21 11:55:06 UTC (rev 11173)
+++ trunk/openlayers/lib/OpenLayers/BaseTypes.js	2011-02-21 12:01:17 UTC (rev 11174)
@@ -458,7 +458,17 @@
      */
     True : function() {
         return true;
-    }
+    },
+    
+    /**
+     * APIFunction: Void
+     * A reusable function that returns ``undefined``.
+     *
+     * Returns:
+     * {undefined}
+     */
+    Void: function() {}
+
 };
 
 if (!Function.prototype.bind) {



More information about the Commits mailing list