Use named exports from ol/index.js

This commit is contained in:
Tim Schaub
2017-12-12 10:24:58 -07:00
parent fce644556b
commit 87295a74dd
250 changed files with 874 additions and 887 deletions

View File

@@ -1,7 +1,7 @@
/**
* @module ol/render/webgl/TextReplay
*/
import _ol_ from '../../index.js';
import {getUid, inherits} from '../../index.js';
import _ol_colorlike_ from '../../colorlike.js';
import _ol_dom_ from '../../dom.js';
import _ol_geom_GeometryType_ from '../../geom/GeometryType.js';
@@ -114,7 +114,7 @@ var _ol_render_webgl_TextReplay_ = function(tolerance, maxExtent) {
};
_ol_.inherits(_ol_render_webgl_TextReplay_, _ol_render_webgl_TextureReplay_);
inherits(_ol_render_webgl_TextReplay_, _ol_render_webgl_TextureReplay_);
/**
@@ -189,7 +189,7 @@ _ol_render_webgl_TextReplay_.prototype.drawText = function(geometry, feature) {
this.images_.push(image);
} else {
currentImage = this.images_[this.images_.length - 1];
if (_ol_.getUid(currentImage) != _ol_.getUid(image)) {
if (getUid(currentImage) != getUid(image)) {
this.groupIndices.push(this.indices.length);
this.images_.push(image);
}