Named exports from ol/obj

This commit is contained in:
Frederic Junod
2018-01-16 14:14:17 +01:00
parent 40f97eed85
commit 31e30d28b7
60 changed files with 174 additions and 183 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ import {inherits} from '../index.js';
import {extend, includes} from '../array.js';
import GML2 from '../format/GML2.js';
import XMLFeature from '../format/XMLFeature.js';
import _ol_obj_ from '../obj.js';
import {assign} from '../obj.js';
import _ol_xml_ from '../xml.js';
/**
@@ -158,7 +158,7 @@ WMSGetFeatureInfo.prototype.readFeatures;
WMSGetFeatureInfo.prototype.readFeaturesFromNode = function(node, opt_options) {
const options = {};
if (opt_options) {
_ol_obj_.assign(options, this.getReadOptions(node, opt_options));
assign(options, this.getReadOptions(node, opt_options));
}
return this.readFeatures_(node, [options]);
};