Use ol.inherits instead of goog.inherits
This commit is contained in:
@@ -29,7 +29,7 @@ ol.ImageState = {
|
||||
*/
|
||||
ol.ImageBase = function(extent, resolution, pixelRatio, state, attributions) {
|
||||
|
||||
goog.base(this);
|
||||
ol.events.EventTarget.call(this);
|
||||
|
||||
/**
|
||||
* @private
|
||||
@@ -62,7 +62,7 @@ ol.ImageBase = function(extent, resolution, pixelRatio, state, attributions) {
|
||||
this.state = state;
|
||||
|
||||
};
|
||||
goog.inherits(ol.ImageBase, ol.events.EventTarget);
|
||||
ol.inherits(ol.ImageBase, ol.events.EventTarget);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user