Rename ol/objectutil.js to ol/obj.js
This commit is contained in:
+2
-2
@@ -5,7 +5,7 @@ goog.require('ol.ImageState');
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.events.EventType');
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.object');
|
||||
goog.require('ol.obj');
|
||||
|
||||
|
||||
/**
|
||||
@@ -80,7 +80,7 @@ ol.Image.prototype.getImage = function(opt_context) {
|
||||
var key = ol.getUid(opt_context);
|
||||
if (key in this.imageByContext_) {
|
||||
return this.imageByContext_[key];
|
||||
} else if (ol.object.isEmpty(this.imageByContext_)) {
|
||||
} else if (ol.obj.isEmpty(this.imageByContext_)) {
|
||||
image = this.image_;
|
||||
} else {
|
||||
image = /** @type {Image} */ (this.image_.cloneNode(false));
|
||||
|
||||
Reference in New Issue
Block a user