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 -8
View File
@@ -1,7 +1,6 @@
/**
* @module ol/has
*/
import {HAS_WEBGL} from './index.js';
const ua = typeof navigator !== 'undefined' ?
navigator.userAgent.toLowerCase() : '';
@@ -90,10 +89,4 @@ export const POINTER = 'PointerEvent' in window;
export const MSPOINTER = !!(navigator.msPointerEnabled);
/**
* True if both OpenLayers and browser support WebGL.
* @const
* @type {boolean}
* @api
*/
export const WEBGL = HAS_WEBGL;
export {HAS as WEBGL} from './webgl.js';