Remove ol.xml.getLocalName workaround for IE

This property is available for IE >= 9
This commit is contained in:
Frederic Junod
2016-03-02 12:20:57 +01:00
parent 750a01aa80
commit b87a912ecc
4 changed files with 7 additions and 42 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ ol.format.WMSGetFeatureInfo.prototype.readFeatures_ = function(node, objectStack
node.setAttribute('namespaceURI', this.featureNS_);
goog.asserts.assert(node.nodeType == goog.dom.NodeType.ELEMENT,
'node.nodeType should be ELEMENT');
var localName = ol.xml.getLocalName(node);
var localName = node.localName;
/** @type {Array.<ol.Feature>} */
var features = [];
if (node.childNodes.length === 0) {