Named exports from ol/css module

This commit is contained in:
Marc Jansen
2017-12-19 11:36:21 +01:00
parent 1aa7313a7b
commit a7c5897bdb
14 changed files with 40 additions and 46 deletions

View File

@@ -6,7 +6,7 @@ import _ol_Object_ from '../Object.js';
import {assert} from '../asserts.js';
import Control from '../control/Control.js';
import ScaleLineUnits from '../control/ScaleLineUnits.js';
import _ol_css_ from '../css.js';
import {CLASS_UNSELECTABLE} from '../css.js';
import _ol_events_ from '../events.js';
import {getPointResolution, METERS_PER_UNIT} from '../proj.js';
import _ol_proj_Units_ from '../proj/Units.js';
@@ -44,7 +44,7 @@ var ScaleLine = function(opt_options) {
* @type {Element}
*/
this.element_ = document.createElement('DIV');
this.element_.className = className + ' ' + _ol_css_.CLASS_UNSELECTABLE;
this.element_.className = className + ' ' + CLASS_UNSELECTABLE;
this.element_.appendChild(this.innerElement_);
/**