fix typos and missing documentation in ND comments. (non-functional changes)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@6200 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Frédéric Junod
2008-02-11 09:54:21 +00:00
parent da706ed568
commit 32d541641d
6 changed files with 10 additions and 3 deletions

View File

@@ -195,6 +195,7 @@ OpenLayers.Format.SLD = OpenLayers.Class(OpenLayers.Format.XML, {
*
* Parameters:
* xmlNode - {<DOMElement>}
* name - {String} The name of the returned rule.
*
* Returns:
* {Object} Hash of rule properties
@@ -566,6 +567,9 @@ OpenLayers.Format.SLD = OpenLayers.Class(OpenLayers.Format.XML, {
* xmlNodeList - {Array(<DOMElement>)} list to search
* attributeName - {String} name of the attribute to match
* attributeValue - {String} optional value of the attribute
*
* Returns:
* {DOMElement}
*/
getNodeWithAttribute: function(xmlNodeList, attributeName, attributeValue) {
for (var i=0; i<xmlNodeList.length; i++) {