Reformat to 80 cols

This commit is contained in:
Christopher Eykamp
2013-01-02 12:44:57 +01:00
parent d3345a58b1
commit f7605dcb66

View File

@@ -59,7 +59,8 @@ OpenLayers.Format.WCSCapabilities.v1_1_0 = OpenLayers.Class(
readers: {
"wcs": OpenLayers.Util.applyDefaults({
"Capabilities": function(node, obj) { // In 1.0.0, this was WCS_Capabilties, in 1.1.0, it's just Capabilities
// In 1.0.0, this was WCS_Capabilties, in 1.1.0, it's Capabilities
"Capabilities": function(node, obj) {
this.readChildNodes(node, obj);
},
"Contents": function(node, request) {
@@ -68,8 +69,11 @@ OpenLayers.Format.WCSCapabilities.v1_1_0 = OpenLayers.Class(
},
"CoverageSummary": function(node, contents) {
var coverageSummary = {};
this.readChildNodes(node, coverageSummary); // Read the summary
contents.push(coverageSummary); // Add it to the contents array
// Read the summary:
this.readChildNodes(node, coverageSummary);
// Add it to the contents array:
contents.push(coverageSummary);
},
"Identifier": function(node, coverageSummary) {
coverageSummary.identifier = this.getChildValue(node);