Redundant namespaces (doc change).
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12133 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -153,20 +153,20 @@ OpenLayers.String = {
|
||||
},
|
||||
|
||||
/**
|
||||
* Property: OpenLayers.String.tokenRegEx
|
||||
* Property: tokenRegEx
|
||||
* Used to find tokens in a string.
|
||||
* Examples: ${a}, ${a.b.c}, ${a-b}, ${5}
|
||||
*/
|
||||
tokenRegEx: /\$\{([\w.]+?)\}/g,
|
||||
|
||||
/**
|
||||
* Property: OpenLayers.String.numberRegEx
|
||||
* Property: numberRegEx
|
||||
* Used to test strings as numbers.
|
||||
*/
|
||||
numberRegEx: /^([+-]?)(?=\d|\.\d)\d*(\.\d*)?([Ee]([+-]?\d+))?$/,
|
||||
|
||||
/**
|
||||
* APIFunction: OpenLayers.String.isNumeric
|
||||
* APIFunction: isNumeric
|
||||
* Determine whether a string contains only a numeric value.
|
||||
*
|
||||
* Examples:
|
||||
|
||||
Reference in New Issue
Block a user