Remove goog.isDef from attribution.js through color.js (-54 B)

This commit is contained in:
Tim Schaub
2015-09-18 14:51:24 +09:00
parent 37d0176642
commit c8e9525f3b
4 changed files with 6 additions and 7 deletions
+1 -2
View File
@@ -38,8 +38,7 @@ ol.Attribution = function(options) {
* @private
* @type {Object.<string, Array.<ol.TileRange>>}
*/
this.tileRanges_ = goog.isDef(options.tileRanges) ?
options.tileRanges : null;
this.tileRanges_ = options.tileRanges ? options.tileRanges : null;
};