Redundant namespaces (doc change).

git-svn-id: http://svn.openlayers.org/trunk/openlayers@12133 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2011-06-30 05:15:02 +00:00
parent ffbb3a942a
commit bf42fd5f90

View File

@@ -153,20 +153,20 @@ OpenLayers.String = {
}, },
/** /**
* Property: OpenLayers.String.tokenRegEx * Property: tokenRegEx
* Used to find tokens in a string. * Used to find tokens in a string.
* Examples: ${a}, ${a.b.c}, ${a-b}, ${5} * Examples: ${a}, ${a.b.c}, ${a-b}, ${5}
*/ */
tokenRegEx: /\$\{([\w.]+?)\}/g, tokenRegEx: /\$\{([\w.]+?)\}/g,
/** /**
* Property: OpenLayers.String.numberRegEx * Property: numberRegEx
* Used to test strings as numbers. * Used to test strings as numbers.
*/ */
numberRegEx: /^([+-]?)(?=\d|\.\d)\d*(\.\d*)?([Ee]([+-]?\d+))?$/, numberRegEx: /^([+-]?)(?=\d|\.\d)\d*(\.\d*)?([Ee]([+-]?\d+))?$/,
/** /**
* APIFunction: OpenLayers.String.isNumeric * APIFunction: isNumeric
* Determine whether a string contains only a numeric value. * Determine whether a string contains only a numeric value.
* *
* Examples: * Examples: