Inline simple goog.isDef() calls
This commit is contained in:
@@ -173,7 +173,7 @@ ol.source.TileArcGISRest.prototype.getUrls = function() {
|
||||
* @api stable
|
||||
*/
|
||||
ol.source.TileArcGISRest.prototype.setUrl = function(url) {
|
||||
var urls = goog.isDef(url) ? ol.TileUrlFunction.expandUrl(url) : null;
|
||||
var urls = url !== undefined ? ol.TileUrlFunction.expandUrl(url) : null;
|
||||
this.setUrls(urls);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user