[OpenLayers-Commits] r5082 - trunk/openlayers/lib/OpenLayers
commits at openlayers.org
commits at openlayers.org
Thu Nov 1 03:22:12 EDT 2007
Author: euzuro
Date: 2007-11-01 03:22:11 -0400 (Thu, 01 Nov 2007)
New Revision: 5082
Modified:
trunk/openlayers/lib/OpenLayers/BaseTypes.js
Log:
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.
Modified: trunk/openlayers/lib/OpenLayers/BaseTypes.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/BaseTypes.js 2007-10-31 20:19:09 UTC (rev 5081)
+++ trunk/openlayers/lib/OpenLayers/BaseTypes.js 2007-11-01 07:22:11 UTC (rev 5082)
@@ -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 @@
},
/**
- * APIMethod: OpenLayers.String.contains
+ * APIFunction: OpenLayers.String.contains
* Test whether a string contains another string.
*
* Parameters:
@@ -52,7 +52,7 @@
},
/**
- * APIMethod: OpenLayers.String.trim
+ * APIFunction: OpenLayers.String.trim
* Removes leading and trailing whitespace characters from a string.
*
* Parameters:
@@ -68,7 +68,7 @@
},
/**
- * 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 @@
OpenLayers.Number = {
/**
- * APIMethod: OpenLayers.Number.limitSigDigs
+ * APIFunction: OpenLayers.Number.limitSigDigs
* Limit the number of significant digits on an integer.
*
* Parameters:
@@ -227,7 +227,7 @@
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 @@
},
/**
- * 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.
*
More information about the Commits
mailing list