From 674a41497156097e82c72cd7ce274e611a4aed24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Junod?= Date: Thu, 8 Apr 2010 13:24:16 +0000 Subject: [PATCH] Use bracket notation for 'abstract'. r=bartvde (pullup #2569) git-svn-id: http://svn.openlayers.org/trunk/openlayers@10183 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Format/OWSCommon/v1_1_0.js | 2 +- lib/OpenLayers/Format/WMSCapabilities/v1.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/OpenLayers/Format/OWSCommon/v1_1_0.js b/lib/OpenLayers/Format/OWSCommon/v1_1_0.js index 41f40f765c..cf1c2708bb 100644 --- a/lib/OpenLayers/Format/OWSCommon/v1_1_0.js +++ b/lib/OpenLayers/Format/OWSCommon/v1_1_0.js @@ -45,7 +45,7 @@ OpenLayers.Format.OWSCommon.v1_1_0 = OpenLayers.Class(OpenLayers.Format.XML, { serviceIdentification.title = this.getChildValue(node); }, "Abstract": function(node, serviceIdentification) { - serviceIdentification.abstract = this.getChildValue(node); + serviceIdentification["abstract"] = this.getChildValue(node); }, "Keywords": function(node, serviceIdentification) { serviceIdentification.keywords = {}; diff --git a/lib/OpenLayers/Format/WMSCapabilities/v1.js b/lib/OpenLayers/Format/WMSCapabilities/v1.js index c200819122..6eacc5a4d9 100644 --- a/lib/OpenLayers/Format/WMSCapabilities/v1.js +++ b/lib/OpenLayers/Format/WMSCapabilities/v1.js @@ -186,7 +186,7 @@ OpenLayers.Format.WMSCapabilities.v1 = OpenLayers.Class( obj.title = this.getChildValue(node); }, "Abstract": function(node, obj) { - obj.abstract = this.getChildValue(node); + obj["abstract"] = this.getChildValue(node); }, "BoundingBox": function(node, obj) { var bbox = {};