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
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user