Excuse the bad commit message on r1172. This change and that one add a reusable empty function. r=ahocevar (closes #3073)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@11174 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2011-02-21 12:01:17 +00:00
parent 174bd431f4
commit 17eaecc4e5

View File

@@ -458,7 +458,17 @@ OpenLayers.Function = {
*/
True : function() {
return true;
}
},
/**
* APIFunction: Void
* A reusable function that returns ``undefined``.
*
* Returns:
* {undefined}
*/
Void: function() {}
};
if (!Function.prototype.bind) {