diff --git a/lib/OpenLayers/BaseTypes.js b/lib/OpenLayers/BaseTypes.js index e84b134585..f3f970e332 100644 --- a/lib/OpenLayers/BaseTypes.js +++ b/lib/OpenLayers/BaseTypes.js @@ -22,7 +22,7 @@ OpenLayers.String = { /** - * APIMethod: OpenLayers.String.startsWith + * APIFunction: OpenLayers.String.startsWith * Test whether a string starts with another string. * * Parameters: @@ -37,7 +37,7 @@ OpenLayers.String = { }, /** - * APIMethod: OpenLayers.String.contains + * APIFunction: OpenLayers.String.contains * Test whether a string contains another string. * * Parameters: @@ -52,7 +52,7 @@ OpenLayers.String = { }, /** - * APIMethod: OpenLayers.String.trim + * APIFunction: OpenLayers.String.trim * Removes leading and trailing whitespace characters from a string. * * Parameters: @@ -68,7 +68,7 @@ OpenLayers.String = { }, /** - * APIMethod: OpenLayers.String.camelize + * APIFunction: OpenLayers.String.camelize * Camel-case a hyphenated string. * Ex. "chicken-head" becomes "chickenHead", and * "-chicken-head" becomes "ChickenHead". @@ -175,7 +175,7 @@ if (!String.prototype.camelize) { OpenLayers.Number = { /** - * APIMethod: OpenLayers.Number.limitSigDigs + * APIFunction: OpenLayers.Number.limitSigDigs * Limit the number of significant digits on an integer. * * Parameters: @@ -227,7 +227,7 @@ if (!Number.prototype.limitSigDigs) { OpenLayers.Function = { /** - * APIMethod: OpenLayers.Function.bind + * APIFunction: OpenLayers.Function.bind * Bind a function to an object. Method to easily create closures with * 'this' altered. * @@ -252,7 +252,7 @@ OpenLayers.Function = { }, /** - * APIMethod: OpenLayers.Function.bindAsEventListener + * APIFunction: OpenLayers.Function.bindAsEventListener * Bind a function to an object, and configure it to receive the event * object as first parameter when called. *