Remove use of goog.array.isEmpty

This commit is contained in:
Frederic Junod
2015-09-22 11:25:04 +02:00
parent 44b1c9da89
commit 0d23ab44b3
5 changed files with 5 additions and 9 deletions

View File

@@ -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;
}