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

View File

@@ -63,7 +63,7 @@ ol.source.ImageVector = function(options) {
*/
this.replayGroup_ = null;
goog.base(this, {
ol.source.ImageCanvas.call(this, {
attributions: options.attributions,
canvasFunction: this.canvasFunctionInternal_.bind(this),
logo: options.logo,
@@ -93,7 +93,7 @@ ol.source.ImageVector = function(options) {
this.handleSourceChange_, this);
};
goog.inherits(ol.source.ImageVector, ol.source.ImageCanvas);
ol.inherits(ol.source.ImageVector, ol.source.ImageCanvas);
/**