Inline simple goog.isDef() calls

This commit is contained in:
Tim Schaub
2015-09-27 10:34:44 -06:00
parent a86c270f6a
commit e3951fa3c6
45 changed files with 172 additions and 170 deletions

View File

@@ -21,7 +21,7 @@ ol.TileCache = function(opt_highWaterMark) {
* @private
* @type {number}
*/
this.highWaterMark_ = goog.isDef(opt_highWaterMark) ?
this.highWaterMark_ = opt_highWaterMark !== undefined ?
opt_highWaterMark : ol.DEFAULT_TILE_CACHE_HIGH_WATER_MARK;
};