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

View File

@@ -1,7 +1,7 @@
/**
* @module ol/structs/LRUCache
*/
import {inherits} from '../index.js';
import {inherits} from '../util.js';
import {assert} from '../asserts.js';
import EventTarget from '../events/EventTarget.js';
import EventType from '../events/EventType.js';

View File

@@ -1,7 +1,7 @@
/**
* @module ol/structs/RBush
*/
import {getUid} from '../index.js';
import {getUid} from '../util.js';
import rbush from 'rbush';
import {createOrUpdate, equals} from '../extent.js';
import {isEmpty} from '../obj.js';