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
+2 -2
View File
@@ -1,7 +1,7 @@
/**
* @module ol/style/AtlasManager
*/
import {WEBGL_MAX_TEXTURE_SIZE} from '../index.js';
import {MAX_TEXTURE_SIZE as WEBGL_MAX_TEXTURE_SIZE} from '../webgl.js';
import {UNDEFINED} from '../functions.js';
import Atlas from '../style/Atlas.js';
@@ -10,7 +10,7 @@ import Atlas from '../style/Atlas.js';
* @typedef {Object} Options
* @property {number} [initialSize=256] The size in pixels of the first atlas image.
* @property {number} [maxSize] The maximum size in pixels of atlas images. Default is
* `WEBGL_MAX_TEXTURE_SIZE` or 2048 if WebGL is not supported.
* `webgl/MAX_TEXTURE_SIZE` or 2048 if WebGL is not supported.
* @property {number} [space=1] The space in pixels between images.
*/
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* @module ol/style/Circle
*/
import {inherits} from '../index.js';
import {inherits} from '../util.js';
import RegularShape from '../style/RegularShape.js';
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* @module ol/style/Fill
*/
import {getUid} from '../index.js';
import {getUid} from '../util.js';
import {asString} from '../color.js';
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* @module ol/style/Icon
*/
import {getUid, inherits} from '../index.js';
import {getUid, inherits} from '../util.js';
import ImageState from '../ImageState.js';
import {assert} from '../asserts.js';
import {asArray} from '../color.js';
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* @module ol/style/IconImage
*/
import {inherits} from '../index.js';
import {inherits} from '../util.js';
import {createCanvasContext2D} from '../dom.js';
import {listenOnce, unlistenByKey} from '../events.js';
import EventTarget from '../events/EventTarget.js';
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* @module ol/style/RegularShape
*/
import {inherits} from '../index.js';
import {inherits} from '../util.js';
import {asColorLike} from '../colorlike.js';
import {createCanvasContext2D} from '../dom.js';
import {CANVAS_LINE_DASH} from '../has.js';
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* @module ol/style/Stroke
*/
import {getUid} from '../index.js';
import {getUid} from '../util.js';
/**