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
+2 -3
View File
@@ -2,7 +2,7 @@
* @module ol/style/Fill
*/
import {getUid} from '../index.js';
import _ol_color_ from '../color.js';
import {asString} from '../color.js';
/**
* @classdesc
@@ -76,8 +76,7 @@ _ol_style_Fill_.prototype.getChecksum = function() {
) {
this.checksum_ = getUid(this.color_).toString();
} else {
this.checksum_ = 'f' + (this.color_ ?
_ol_color_.asString(this.color_) : '-');
this.checksum_ = 'f' + (this.color_ ? asString(this.color_) : '-');
}
}