Remove goog.isNull in style classes
This commit is contained in:
@@ -205,11 +205,11 @@ ol.style.Stroke.prototype.setWidth = function(width) {
|
||||
ol.style.Stroke.prototype.getChecksum = function() {
|
||||
if (this.checksum_ === undefined) {
|
||||
var raw = 's' +
|
||||
(!goog.isNull(this.color_) ?
|
||||
(this.color_ ?
|
||||
ol.color.asString(this.color_) : '-') + ',' +
|
||||
(this.lineCap_ !== undefined ?
|
||||
this.lineCap_.toString() : '-') + ',' +
|
||||
(!goog.isNull(this.lineDash_) ?
|
||||
(this.lineDash_ ?
|
||||
this.lineDash_.toString() : '-') + ',' +
|
||||
(this.lineJoin_ !== undefined ?
|
||||
this.lineJoin_ : '-') + ',' +
|
||||
|
||||
Reference in New Issue
Block a user