Use ol.inherits instead of goog.inherits

This commit is contained in:
Frederic Junod
2016-04-07 16:26:11 +02:00
parent 072728b083
commit e289bfbb7d
166 changed files with 448 additions and 452 deletions
+3 -3
View File
@@ -19,7 +19,7 @@ goog.require('ol.object');
*/
ol.ImageTile = function(tileCoord, state, src, crossOrigin, tileLoadFunction) {
goog.base(this, tileCoord, state);
ol.Tile.call(this, tileCoord, state);
/**
* Image URI
@@ -57,7 +57,7 @@ ol.ImageTile = function(tileCoord, state, src, crossOrigin, tileLoadFunction) {
this.tileLoadFunction_ = tileLoadFunction;
};
goog.inherits(ol.ImageTile, ol.Tile);
ol.inherits(ol.ImageTile, ol.Tile);
/**
@@ -72,7 +72,7 @@ ol.ImageTile.prototype.disposeInternal = function() {
}
this.state = ol.TileState.ABORT;
this.changed();
goog.base(this, 'disposeInternal');
ol.Tile.prototype.disposeInternal.call(this);
};