Named exports from ol/dom

This commit is contained in:
Frederic Junod
2017-12-14 09:36:05 +01:00
parent fab77e8d37
commit f6627c4d4e
31 changed files with 118 additions and 121 deletions

View File

@@ -1,7 +1,7 @@
/**
* @module ol/style/Atlas
*/
import _ol_dom_ from '../dom.js';
import {createCanvasContext2D} from '../dom.js';
/**
* This class facilitates the creation of image atlases.
@@ -44,7 +44,7 @@ var _ol_style_Atlas_ = function(size, space) {
* @private
* @type {CanvasRenderingContext2D}
*/
this.context_ = _ol_dom_.createCanvasContext2D(size, size);
this.context_ = createCanvasContext2D(size, size);
/**
* @private