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/CircleReplay
*/
import _ol_ from '../../index.js';
import {getUid, inherits} from '../../index.js';
import _ol_array_ from '../../array.js';
import _ol_color_ from '../../color.js';
import _ol_extent_ from '../../extent.js';
@@ -68,7 +68,7 @@ var _ol_render_webgl_CircleReplay_ = function(tolerance, maxExtent) {
};
_ol_.inherits(_ol_render_webgl_CircleReplay_, _ol_render_webgl_Replay_);
inherits(_ol_render_webgl_CircleReplay_, _ol_render_webgl_Replay_);
/**
@@ -285,7 +285,7 @@ _ol_render_webgl_CircleReplay_.prototype.drawHitDetectionReplayOneByOne = functi
this.startIndices[featureIndex] >= groupStart) {
start = this.startIndices[featureIndex];
feature = this.startIndicesFeature[featureIndex];
featureUid = _ol_.getUid(feature).toString();
featureUid = getUid(feature).toString();
if (skippedFeaturesHash[featureUid] === undefined &&
feature.getGeometry() &&
@@ -331,7 +331,7 @@ _ol_render_webgl_CircleReplay_.prototype.drawReplaySkipping_ = function(gl, cont
this.startIndices[featureIndex] >= groupStart) {
featureStart = this.startIndices[featureIndex];
feature = this.startIndicesFeature[featureIndex];
featureUid = _ol_.getUid(feature).toString();
featureUid = getUid(feature).toString();
if (skippedFeaturesHash[featureUid]) {
if (start !== end) {