Merge pull request #7636 from marcjansen/named-exports-array

Named exports from the ol/array module
This commit is contained in:
Marc Jansen authored and GitHub committed 2017-12-19 22:32:14 +01:00
commit 8ef8f59cd9
47 files changed
+296 -298

No files matched your search

+2 -2
View File
@@ -2,7 +2,7 @@
* @module ol/control/Attribution
*/
import {inherits} from '../index.js';
import _ol_array_ from '../array.js';
import {equals} from '../array.js';
import Control from '../control/Control.js';
import {CLASS_CONTROL, CLASS_UNSELECTABLE} from '../css.js';
import {removeChildren, replaceNode} from '../dom.js';
@@ -208,7 +208,7 @@ Attribution.prototype.updateElement_ = function(frameState) {
}
var attributions = this.getSourceAttributions_(frameState);
if (_ol_array_.equals(attributions, this.renderedAttributions_)) {
if (equals(attributions, this.renderedAttributions_)) {
return;
}