Remove use of goog.array.isEmpty
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
goog.provide('ol.source.TileArcGISRest');
|
||||
|
||||
goog.require('goog.array');
|
||||
goog.require('goog.asserts');
|
||||
goog.require('goog.math');
|
||||
goog.require('goog.object');
|
||||
@@ -101,7 +100,7 @@ ol.source.TileArcGISRest.prototype.getRequestUrl_ =
|
||||
pixelRatio, projection, params) {
|
||||
|
||||
var urls = this.urls_;
|
||||
if (goog.array.isEmpty(urls)) {
|
||||
if (urls.length === 0) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user