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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user