Use bracket notation for 'abstract'. r=bartvde (pullup #2569)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10183 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -45,7 +45,7 @@ OpenLayers.Format.OWSCommon.v1_1_0 = OpenLayers.Class(OpenLayers.Format.XML, {
|
|||||||
serviceIdentification.title = this.getChildValue(node);
|
serviceIdentification.title = this.getChildValue(node);
|
||||||
},
|
},
|
||||||
"Abstract": function(node, serviceIdentification) {
|
"Abstract": function(node, serviceIdentification) {
|
||||||
serviceIdentification.abstract = this.getChildValue(node);
|
serviceIdentification["abstract"] = this.getChildValue(node);
|
||||||
},
|
},
|
||||||
"Keywords": function(node, serviceIdentification) {
|
"Keywords": function(node, serviceIdentification) {
|
||||||
serviceIdentification.keywords = {};
|
serviceIdentification.keywords = {};
|
||||||
|
|||||||
@@ -186,7 +186,7 @@ OpenLayers.Format.WMSCapabilities.v1 = OpenLayers.Class(
|
|||||||
obj.title = this.getChildValue(node);
|
obj.title = this.getChildValue(node);
|
||||||
},
|
},
|
||||||
"Abstract": function(node, obj) {
|
"Abstract": function(node, obj) {
|
||||||
obj.abstract = this.getChildValue(node);
|
obj["abstract"] = this.getChildValue(node);
|
||||||
},
|
},
|
||||||
"BoundingBox": function(node, obj) {
|
"BoundingBox": function(node, obj) {
|
||||||
var bbox = {};
|
var bbox = {};
|
||||||
|
|||||||
Reference in New Issue
Block a user