Reformat to 80 cols

This commit is contained in:
Christopher Eykamp
2013-01-02 12:44:57 +01:00
parent d3345a58b1
commit f7605dcb66
@@ -59,7 +59,8 @@ OpenLayers.Format.WCSCapabilities.v1_1_0 = OpenLayers.Class(
readers: { readers: {
"wcs": OpenLayers.Util.applyDefaults({ "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); this.readChildNodes(node, obj);
}, },
"Contents": function(node, request) { "Contents": function(node, request) {
@@ -68,8 +69,11 @@ OpenLayers.Format.WCSCapabilities.v1_1_0 = OpenLayers.Class(
}, },
"CoverageSummary": function(node, contents) { "CoverageSummary": function(node, contents) {
var coverageSummary = {}; var coverageSummary = {};
this.readChildNodes(node, coverageSummary); // Read the summary // Read the summary:
contents.push(coverageSummary); // Add it to the contents array this.readChildNodes(node, coverageSummary);
// Add it to the contents array:
contents.push(coverageSummary);
}, },
"Identifier": function(node, coverageSummary) { "Identifier": function(node, coverageSummary) {
coverageSummary.identifier = this.getChildValue(node); coverageSummary.identifier = this.getChildValue(node);