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

@@ -16,7 +16,7 @@ goog.require('ol.source.Image');
*/
ol.source.ImageCanvas = function(options) {
goog.base(this, {
ol.source.Image.call(this, {
attributions: options.attributions,
logo: options.logo,
projection: options.projection,
@@ -50,7 +50,7 @@ ol.source.ImageCanvas = function(options) {
options.ratio : 1.5;
};
goog.inherits(ol.source.ImageCanvas, ol.source.Image);
ol.inherits(ol.source.ImageCanvas, ol.source.Image);
/**