Put PARSERS object into prototype too

This is to avoid the use of this.constructor that breaks advanced build
This commit is contained in:
Florent gravin
2014-10-03 09:23:13 +02:00
parent bea721349a
commit 47e182524f
4 changed files with 50 additions and 50 deletions

View File

@@ -127,7 +127,7 @@ ol.format.WFS.prototype.readFeaturesFromNode = function(node, opt_options) {
goog.isDef(opt_options) ? opt_options : {}));
var objectStack = [context];
var features = ol.xml.pushParseAndPop([],
ol.format.GMLBase.FEATURE_COLLECTION_PARSERS, node,
this.gmlFormat_.FEATURE_COLLECTION_PARSERS, node,
objectStack, this.gmlFormat_);
if (!goog.isDef(features)) {
features = [];