From ddc6bd817d0805a68d6af32080d2cc766b28b558 Mon Sep 17 00:00:00 2001 From: Christopher Eykamp Date: Wed, 2 Jan 2013 14:36:04 +0100 Subject: [PATCH] Prefer dot notation --- lib/OpenLayers/Format/WCSCapabilities/v1_1_0.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/OpenLayers/Format/WCSCapabilities/v1_1_0.js b/lib/OpenLayers/Format/WCSCapabilities/v1_1_0.js index 5adb7bf247..be09e874c3 100644 --- a/lib/OpenLayers/Format/WCSCapabilities/v1_1_0.js +++ b/lib/OpenLayers/Format/WCSCapabilities/v1_1_0.js @@ -86,19 +86,19 @@ OpenLayers.Format.WCSCapabilities.v1_1_0 = OpenLayers.Class( "SupportedCRS": function(node, coverageSummary) { var crs = this.getChildValue(node); if(crs) { - if(!coverageSummary["supportedCRS"]) { - coverageSummary["supportedCRS"] = []; + if(!coverageSummary.supportedCRS) { + coverageSummary.supportedCRS = []; } - coverageSummary["supportedCRS"].push(crs); + coverageSummary.supportedCRS.push(crs); } }, "SupportedFormat": function(node, coverageSummary) { var format = this.getChildValue(node); if(format) { - if(!coverageSummary["supportedFormat"]) { - coverageSummary["supportedFormat"] = []; + if(!coverageSummary.supportedFormat) { + coverageSummary.supportedFormat = []; } - coverageSummary["supportedFormat"].push(format); + coverageSummary.supportedFormat.push(format); } },