Inline goog.isDef() calls for properties
This commit is contained in:
@@ -92,7 +92,7 @@ ol.source.TileDebug = function(options) {
|
||||
opaque: false,
|
||||
projection: options.projection,
|
||||
tileGrid: options.tileGrid,
|
||||
wrapX: goog.isDef(options.wrapX) ? options.wrapX : true
|
||||
wrapX: options.wrapX !== undefined ? options.wrapX : true
|
||||
});
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user