Committing patch from #559 to add CLASS_NAME for all classes. (I never cleaned

these up like I should have.)


git-svn-id: http://svn.openlayers.org/trunk/openlayers@2876 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2007-03-24 23:07:30 +00:00
parent cb9723d202
commit b22958ff2e
5 changed files with 21 additions and 4 deletions
+5 -1
View File
@@ -29,5 +29,9 @@ OpenLayers.Format.prototype = {
*/ */
write: function(features) { write: function(features) {
alert("Write not implemented."); alert("Write not implemented.");
} },
/** @final @type String */
CLASS_NAME: "OpenLayers.Format"
}; };
+5 -1
View File
@@ -429,5 +429,9 @@ OpenLayers.Format.GML.prototype =
coordinatesNode.appendChild(txtNode); coordinatesNode.appendChild(txtNode);
return coordinatesNode; return coordinatesNode;
} },
/** @final @type String */
CLASS_NAME: "OpenLayers.Format.GML"
}); });
+5 -1
View File
@@ -103,5 +103,9 @@ OpenLayers.Format.GeoRSS.prototype =
path += geometry.lat + " " + geometry.lon + " "; path += geometry.lat + " " + geometry.lon + " ";
} }
return document.createTextNode(path); return document.createTextNode(path);
} },
/** @final @type String */
CLASS_NAME: "OpenLayers.Format.GeoRSS"
}); });
+1
View File
@@ -164,6 +164,7 @@ OpenLayers.Format.KML.prototype =
return p; return p;
}, },
/** @final @type String */
CLASS_NAME: "OpenLayers.Format.KML" CLASS_NAME: "OpenLayers.Format.KML"
}); });
+5 -1
View File
@@ -152,5 +152,9 @@ OpenLayers.Format.WFS.prototype =
destroy: function() { destroy: function() {
this.layer = null; this.layer = null;
} },
/** @final @type String */
CLASS_NAME: "OpenLayers.Format.WFS"
}); });