Inline !goog.isDef() calls for properties
This commit is contained in:
@@ -194,7 +194,7 @@ ol.source.ImageWMS.prototype.getImage =
|
||||
|
||||
resolution = this.findNearestResolution(resolution);
|
||||
|
||||
if (pixelRatio != 1 && (!this.hidpi_ || !goog.isDef(this.serverType_))) {
|
||||
if (pixelRatio != 1 && (!this.hidpi_ || this.serverType_ === undefined)) {
|
||||
pixelRatio = 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user