From 6360ebadcd02e657c1b6cb2309a69e08eaf7c989 Mon Sep 17 00:00:00 2001 From: euzuro Date: Thu, 1 Nov 2007 07:22:11 +0000 Subject: [PATCH] when we made the nd switch, we agreed that functions which are on static objects would be called Function and functions defined in prototypes would be called Methods. Since these are all now static functions, they should be labelled as such. No functional change here. git-svn-id: http://svn.openlayers.org/trunk/openlayers@5082 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/BaseTypes.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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. *