Use goog.DEBUG instead of ol.DEBUG for now
This commit is contained in:
@@ -96,7 +96,7 @@ ol.TileQueue.prototype.handleTileChange = function(event) {
|
||||
}
|
||||
this.tileChangeCallback_();
|
||||
}
|
||||
ol.DEBUG && console.assert(Object.keys(this.tilesLoadingKeys_).length === this.tilesLoading_);
|
||||
goog.DEBUG && console.assert(Object.keys(this.tilesLoadingKeys_).length === this.tilesLoading_);
|
||||
};
|
||||
|
||||
|
||||
@@ -117,6 +117,6 @@ ol.TileQueue.prototype.loadMoreTiles = function(maxTotalLoading, maxNewLoads) {
|
||||
++newLoads;
|
||||
tile.load();
|
||||
}
|
||||
ol.DEBUG && console.assert(Object.keys(this.tilesLoadingKeys_).length === this.tilesLoading_);
|
||||
goog.DEBUG && console.assert(Object.keys(this.tilesLoadingKeys_).length === this.tilesLoading_);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user