Inline !goog.isDef() calls for properties

This commit is contained in:
Tim Schaub
2015-09-27 10:37:20 -06:00
parent e3951fa3c6
commit 36e336f406
6 changed files with 7 additions and 7 deletions

View File

@@ -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;
}