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/layer/Base
*/
import {inherits} from '../index.js';
import {inherits} from '../util.js';
import BaseObject from '../Object.js';
import LayerProperty from '../layer/Property.js';
import {clamp} from '../math.js';
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* @module ol/layer/Group
*/
import {getUid, inherits} from '../index.js';
import {getUid, inherits} from '../util.js';
import Collection from '../Collection.js';
import CollectionEventType from '../CollectionEventType.js';
import {getChangeEventType} from '../Object.js';
+1 -1
View File
@@ -2,7 +2,7 @@
* @module ol/layer/Heatmap
*/
import {listen} from '../events.js';
import {inherits} from '../index.js';
import {inherits} from '../util.js';
import {getChangeEventType} from '../Object.js';
import {createCanvasContext2D} from '../dom.js';
import VectorLayer from '../layer/Vector.js';
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* @module ol/layer/Image
*/
import {inherits} from '../index.js';
import {inherits} from '../util.js';
import LayerType from '../LayerType.js';
import Layer from '../layer/Layer.js';
+1 -1
View File
@@ -3,7 +3,7 @@
*/
import {listen, unlistenByKey} from '../events.js';
import EventType from '../events/EventType.js';
import {getUid, inherits} from '../index.js';
import {getUid, inherits} from '../util.js';
import {getChangeEventType} from '../Object.js';
import BaseLayer from '../layer/Base.js';
import LayerProperty from '../layer/Property.js';
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* @module ol/layer/Tile
*/
import {inherits} from '../index.js';
import {inherits} from '../util.js';
import LayerType from '../LayerType.js';
import Layer from '../layer/Layer.js';
import TileProperty from '../layer/TileProperty.js';
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* @module ol/layer/Vector
*/
import {inherits} from '../index.js';
import {inherits} from '../util.js';
import LayerType from '../LayerType.js';
import Layer from '../layer/Layer.js';
import VectorRenderType from '../layer/VectorRenderType.js';
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* @module ol/layer/VectorTile
*/
import {inherits} from '../index.js';
import {inherits} from '../util.js';
import LayerType from '../LayerType.js';
import {assert} from '../asserts.js';
import TileProperty from '../layer/TileProperty.js';