Named exports from ol/color module

This commit is contained in:
Marc Jansen
2017-12-19 13:56:54 +01:00
parent afa99f5788
commit 295c2973b5
11 changed files with 95 additions and 108 deletions

View File

@@ -4,7 +4,7 @@
import {getUid, inherits} from '../index.js';
import ImageState from '../ImageState.js';
import {assert} from '../asserts.js';
import _ol_color_ from '../color.js';
import {asArray} from '../color.js';
import _ol_events_ from '../events.js';
import EventType from '../events/EventType.js';
import IconAnchorUnits from '../style/IconAnchorUnits.js';
@@ -101,8 +101,7 @@ var _ol_style_Icon_ = function(opt_options) {
* @private
* @type {ol.Color}
*/
this.color_ = options.color !== undefined ? _ol_color_.asArray(options.color) :
null;
this.color_ = options.color !== undefined ? asArray(options.color) : null;
/**
* @private