Fix typos in documentation strings.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@3347 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2007-06-17 04:04:54 +00:00
parent 2298eb9fda
commit debffb8f12
10 changed files with 47 additions and 46 deletions
+4 -4
View File
@@ -76,7 +76,7 @@ OpenLayers.Format.GML.prototype =
* This function is the core of the GML parsing code in OpenLayers.
* It creates the geometries that are then attached to the returned
* feature, and calls parseAttributes() to get attribute data out.
* @param DOMElement xmlNode
* @param {DOMElement} xmlNode
*/
parseFeature: function(xmlNode) {
var geom;
@@ -181,7 +181,7 @@ OpenLayers.Format.GML.prototype =
* recursive function parse the attributes of a GML node.
* Searches for any child nodes which aren't geometries,
* and gets their value.
* @param DOMElement xmlNode
* @param {DOMElement} xmlNode
*/
parseAttributes: function(xmlNode) {
var nodes = xmlNode.childNodes;
@@ -302,8 +302,8 @@ OpenLayers.Format.GML.prototype =
/**
* Accept an OpenLayers.Feature.Vector, and build a geometry for it.
*
* @param OpenLayers.Feature.Vector feature
* @returns DOMElement
* @param {OpenLayers.Feature.Vector} feature
* @returns {DOMElement}
*/
createFeatureXML: function(feature) {
var geometryNode = this.buildGeometryNode(feature.geometry);
+1 -1
View File
@@ -32,7 +32,7 @@ OpenLayers.Format.GeoRSS.prototype =
/**
* Accept an OpenLayers.Feature.Vector, and build a geometry for it.
*
* @param OpenLayers.Feature.Vector feature
* @param {OpenLayers.Feature.Vector} feature
* @returns DOMElement
*/
createFeatureXML: function(feature) {
+2 -2
View File
@@ -46,7 +46,7 @@ OpenLayers.Format.KML.prototype =
* This function is the core of the KML parsing code in OpenLayers.
* It creates the geometries that are then attached to the returned
* feature, and calls parseAttributes() to get attribute data out.
* @param DOMElement xmlNode
* @param {DOMElement} xmlNode
*/
parseFeature: function(xmlNode) {
var geom;
@@ -90,7 +90,7 @@ OpenLayers.Format.KML.prototype =
* recursive function parse the attributes of a KML node.
* Searches for any child nodes which aren't geometries,
* and gets their value.
* @param DOMElement xmlNode
* @param {DOMElement} xmlNode
*/
parseAttributes: function(xmlNode) {
var nodes = xmlNode.childNodes;
+5 -5
View File
@@ -21,7 +21,7 @@ OpenLayers.Format.WFS.prototype =
* only, which uses most of the code from the GML layer, and wraps
* it in transactional elements.
* @param {Object} options
* @param OpenLayers.Layer layer
* @param {OpenLayers.Layer} layer
*/
initialize: function(options, layer) {
@@ -42,7 +42,7 @@ OpenLayers.Format.WFS.prototype =
* write
* Takes a feature list, and generates a WFS-T Transaction
*
* @param Array
* @param {Array}
*/
write: function(features) {
@@ -88,7 +88,7 @@ OpenLayers.Format.WFS.prototype =
* insert
* Takes a feature, and generates a WFS-T Transaction "Insert"
*
* @param OpenLayers.Feature.Vector
* @param {OpenLayers.Feature.Vector} feature
*/
insert: function(feature) {
var insertNode = document.createElementNS(this.wfsns, 'wfs:Insert');
@@ -100,7 +100,7 @@ OpenLayers.Format.WFS.prototype =
* update
* Takes a feature, and generates a WFS-T Transaction "Update"
*
* @param OpenLayers.Feature.Vector
* @param {OpenLayers.Feature.Vector} feature
*/
update: function(feature) {
if (!feature.fid) { alert("Can't update a feature for which there is no FID."); }
@@ -133,7 +133,7 @@ OpenLayers.Format.WFS.prototype =
* delete
* Takes a feature, and generates a WFS-T Transaction "Delete"
*
* @param OpenLayers.Feature.Vector
* @param {OpenLayers.Feature.Vector} feature
*/
remove: function(feature) {
if (!feature.attributes.fid) {