Make classes in ol/ available as named exports from ol

This commit is contained in:
ahocevar
2018-06-21 17:53:45 +02:00
parent 15d116b3c1
commit 28409486a5
218 changed files with 334 additions and 330 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* @module ol/render/canvas/ImageReplay
*/
import {inherits} from '../../index.js';
import {inherits} from '../../util.js';
import CanvasInstruction from '../canvas/Instruction.js';
import CanvasReplay from '../canvas/Replay.js';
+1 -1
View File
@@ -5,7 +5,7 @@
// FIXME need to handle large thick features (where pixel size matters)
// FIXME add offset and end to ol/geom/flat/transform~transform2D?
import {inherits} from '../../index.js';
import {inherits} from '../../util.js';
import {equals} from '../../array.js';
import {asColorLike} from '../../colorlike.js';
import {intersects} from '../../extent.js';
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* @module ol/render/canvas/LineStringReplay
*/
import {inherits} from '../../index.js';
import {inherits} from '../../util.js';
import CanvasInstruction, {strokeInstruction, beginPathInstruction} from '../canvas/Instruction.js';
import CanvasReplay from '../canvas/Replay.js';
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* @module ol/render/canvas/PolygonReplay
*/
import {inherits} from '../../index.js';
import {inherits} from '../../util.js';
import {asString} from '../../color.js';
import {snap} from '../../geom/flat/simplify.js';
import {defaultFillStyle} from '../canvas.js';
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* @module ol/render/canvas/Replay
*/
import {getUid, inherits} from '../../index.js';
import {getUid, inherits} from '../../util.js';
import {UNDEFINED} from '../../functions.js';
import {equals, reverseSubArray} from '../../array.js';
import {asColorLike} from '../../colorlike.js';
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* @module ol/render/canvas/ReplayGroup
*/
import {inherits} from '../../index.js';
import {inherits} from '../../util.js';
import {numberSafeCompareFunction} from '../../array.js';
import {createCanvasContext2D} from '../../dom.js';
import {buffer, createEmpty, extendCoordinate} from '../../extent.js';
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* @module ol/render/canvas/TextReplay
*/
import {getUid, inherits} from '../../index.js';
import {getUid, inherits} from '../../util.js';
import {asColorLike} from '../../colorlike.js';
import {createCanvasContext2D} from '../../dom.js';
import {intersects} from '../../extent.js';