Replace goog.object.isEmpty() with ol.object.isEmpty()
This commit is contained in:
@@ -9,7 +9,6 @@ goog.provide('ol.render.canvas.ReplayGroup');
|
||||
goog.provide('ol.render.canvas.TextReplay');
|
||||
|
||||
goog.require('goog.asserts');
|
||||
goog.require('goog.object');
|
||||
goog.require('goog.vec.Mat4');
|
||||
goog.require('ol');
|
||||
goog.require('ol.array');
|
||||
@@ -20,6 +19,7 @@ goog.require('ol.extent.Relationship');
|
||||
goog.require('ol.geom.flat.simplify');
|
||||
goog.require('ol.geom.flat.transform');
|
||||
goog.require('ol.has');
|
||||
goog.require('ol.object');
|
||||
goog.require('ol.render.IReplayGroup');
|
||||
goog.require('ol.render.VectorContext');
|
||||
goog.require('ol.render.canvas');
|
||||
@@ -249,7 +249,7 @@ ol.render.canvas.Replay.prototype.replay_ = function(
|
||||
goog.asserts.assert(pixelCoordinates === this.pixelCoordinates_,
|
||||
'pixelCoordinates should be the same as this.pixelCoordinates_');
|
||||
}
|
||||
var skipFeatures = !goog.object.isEmpty(skippedFeaturesHash);
|
||||
var skipFeatures = !ol.object.isEmpty(skippedFeaturesHash);
|
||||
var i = 0; // instruction index
|
||||
var ii = instructions.length; // end of instructions
|
||||
var d = 0; // data index
|
||||
@@ -1981,7 +1981,7 @@ ol.render.canvas.ReplayGroup.prototype.getReplay = function(zIndex, replayType)
|
||||
* @inheritDoc
|
||||
*/
|
||||
ol.render.canvas.ReplayGroup.prototype.isEmpty = function() {
|
||||
return goog.object.isEmpty(this.replaysByZIndex_);
|
||||
return ol.object.isEmpty(this.replaysByZIndex_);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user