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/control/Attribution
*/
import {inherits} from '../index.js';
import {inherits} from '../util.js';
import {equals} from '../array.js';
import Control from '../control/Control.js';
import {CLASS_CONTROL, CLASS_UNSELECTABLE, CLASS_COLLAPSED} from '../css.js';
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* @module ol/control/Control
*/
import {inherits} from '../index.js';
import {inherits} from '../util.js';
import {UNDEFINED} from '../functions.js';
import MapEventType from '../MapEventType.js';
import BaseObject from '../Object.js';
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* @module ol/control/FullScreen
*/
import {inherits} from '../index.js';
import {inherits} from '../util.js';
import Control from '../control/Control.js';
import {CLASS_CONTROL, CLASS_UNSELECTABLE, CLASS_UNSUPPORTED} from '../css.js';
import {replaceNode} from '../dom.js';
+1 -1
View File
@@ -2,7 +2,7 @@
* @module ol/control/MousePosition
*/
import {inherits} from '../index.js';
import {inherits} from '../util.js';
import {listen} from '../events.js';
import EventType from '../events/EventType.js';
import {getChangeEventType} from '../Object.js';
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* @module ol/control/OverviewMap
*/
import {inherits} from '../index.js';
import {inherits} from '../util.js';
import Collection from '../Collection.js';
import Map from '../Map.js';
import MapEventType from '../MapEventType.js';
+1 -1
View File
@@ -7,7 +7,7 @@ import {CLASS_CONTROL, CLASS_HIDDEN, CLASS_UNSELECTABLE} from '../css.js';
import {easeOut} from '../easing.js';
import {listen} from '../events.js';
import EventType from '../events/EventType.js';
import {inherits} from '../index.js';
import {inherits} from '../util.js';
/**
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* @module ol/control/ScaleLine
*/
import {inherits} from '../index.js';
import {inherits} from '../util.js';
import {getChangeEventType} from '../Object.js';
import {assert} from '../asserts.js';
import Control from '../control/Control.js';
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* @module ol/control/Zoom
*/
import {inherits} from '../index.js';
import {inherits} from '../util.js';
import {listen} from '../events.js';
import EventType from '../events/EventType.js';
import Control from '../control/Control.js';
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* @module ol/control/ZoomSlider
*/
import {inherits} from '../index.js';
import {inherits} from '../util.js';
import ViewHint from '../ViewHint.js';
import Control from '../control/Control.js';
import {CLASS_CONTROL, CLASS_UNSELECTABLE} from '../css.js';
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* @module ol/control/ZoomToExtent
*/
import {inherits} from '../index.js';
import {inherits} from '../util.js';
import {listen} from '../events.js';
import EventType from '../events/EventType.js';
import Control from '../control/Control.js';