Some problems in the documentation detected using "closure_verify"
This commit is contained in:
@@ -87,7 +87,7 @@ OpenLayers.Format.OSM = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
* Return a list of features from a OSM doc
|
||||
|
||||
* Parameters:
|
||||
* data - {Element}
|
||||
* doc - {Element}
|
||||
*
|
||||
* Returns:
|
||||
* An Array of <OpenLayers.Feature.Vector>s
|
||||
@@ -176,7 +176,7 @@ OpenLayers.Format.OSM = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
* Return the node items from a doc.
|
||||
*
|
||||
* Parameters:
|
||||
* node - {DOMElement} node to parse tags from
|
||||
* doc - {DOMElement} node to parse tags from
|
||||
*/
|
||||
getNodes: function(doc) {
|
||||
var node_list = doc.getElementsByTagName("node");
|
||||
@@ -198,7 +198,7 @@ OpenLayers.Format.OSM = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
* Return the way items from a doc.
|
||||
*
|
||||
* Parameters:
|
||||
* node - {DOMElement} node to parse tags from
|
||||
* doc - {DOMElement} node to parse tags from
|
||||
*/
|
||||
getWays: function(doc) {
|
||||
var way_list = doc.getElementsByTagName("way");
|
||||
@@ -229,7 +229,7 @@ OpenLayers.Format.OSM = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
* Return the tags list attached to a specific DOM element.
|
||||
*
|
||||
* Parameters:
|
||||
* node - {DOMElement} node to parse tags from
|
||||
* dom_node - {DOMElement} node to parse tags from
|
||||
* interesting_tags - {Boolean} whether the return from this function should
|
||||
* return a boolean indicating that it has 'interesting tags' --
|
||||
* tags like attribution and source are ignored. (To change the list
|
||||
|
||||
Reference in New Issue
Block a user