From f7605dcb669a779575d3566924f86e11bca7a0b2 Mon Sep 17 00:00:00 2001 From: Christopher Eykamp Date: Wed, 2 Jan 2013 12:44:57 +0100 Subject: [PATCH] Reformat to 80 cols --- lib/OpenLayers/Format/WCSCapabilities/v1_1_0.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/OpenLayers/Format/WCSCapabilities/v1_1_0.js b/lib/OpenLayers/Format/WCSCapabilities/v1_1_0.js index 2eca8e7fe6..efa4a7d15e 100644 --- a/lib/OpenLayers/Format/WCSCapabilities/v1_1_0.js +++ b/lib/OpenLayers/Format/WCSCapabilities/v1_1_0.js @@ -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);