Remove goog.isNull in style classes

This commit is contained in:
Marc Jansen
2015-09-29 15:21:02 +02:00
parent e1f477ad8c
commit f9b07991e1
7 changed files with 53 additions and 56 deletions
+2 -2
View File
@@ -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_ : '-') + ',' +