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
+1 -1
View File
@@ -59,7 +59,7 @@ ol.style.Fill.prototype.setColor = function(color) {
*/
ol.style.Fill.prototype.getChecksum = function() {
if (this.checksum_ === undefined) {
this.checksum_ = 'f' + (!goog.isNull(this.color_) ?
this.checksum_ = 'f' + (this.color_ ?
ol.color.asString(this.color_) : '-');
}