From 6d2e84892d2a71dab103180bca0c811aa2758f28 Mon Sep 17 00:00:00 2001 From: euzuro Date: Wed, 25 Jul 2007 21:38:41 +0000 Subject: [PATCH] functions on objects are *methods* git-svn-id: http://svn.openlayers.org/trunk/openlayers@3813 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 bb154abe7b..f550a4b4ac 100644 --- a/lib/OpenLayers/BaseTypes.js +++ b/lib/OpenLayers/BaseTypes.js @@ -15,7 +15,7 @@ /** - * APIFunction: String.startsWith + * APIMethod: String.startsWith * Whether or not a string starts with another string. * * Parameters: @@ -29,7 +29,7 @@ String.prototype.startsWith = function(sStart) { }; /** - * APIFunction: String.contains + * APIMethod: String.contains * Whether or not a string contains another string. * * Parameters: @@ -66,7 +66,7 @@ String.prototype.trim = function() { }; /** - * APIFunction: String.indexOf + * APIMethod: String.indexOf * Index of a character in a string. * * Parameters: @@ -87,7 +87,7 @@ String.indexOf = function(object) { }; /** - * APIFunction: camelize + * APIMethod: camelize * Camel-case a hyphenated string. * Ex. "chicken-head" becomes "chickenHead", and * "-chicken-head" becomes "ChickenHead". @@ -113,7 +113,7 @@ String.prototype.camelize = function() { *********************/ /** - * APIFunction: Number.limitSigDigs + * APIMethod: Number.limitSigDigs * Limit the number of significant digits on an integer. Does *not* work * with floats! * @@ -141,7 +141,7 @@ Number.prototype.limitSigDigs = function(sig) { *********************/ /** - * APIFunction: Function.bind + * APIMethod: Function.bind * Bind a function to an object. * * Parameters: @@ -168,7 +168,7 @@ Function.prototype.bind = function() { }; /** - * APIFunction: Function.bindAsEventListener + * APIMethod: Function.bindAsEventListener * Bind a function to an object, and configure it to receive the event object * as first parameter when called. *