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

@@ -101,7 +101,7 @@ ol.source.Stamen = function(options) {
'https://stamen-tiles-{a-d}.a.ssl.fastly.net/' + options.layer +
'/{z}/{x}/{y}.' + layerConfig.extension;
goog.base(this, {
ol.source.XYZ.call(this, {
attributions: ol.source.Stamen.ATTRIBUTIONS,
cacheSize: options.cacheSize,
crossOrigin: 'anonymous',
@@ -114,7 +114,7 @@ ol.source.Stamen = function(options) {
});
};
goog.inherits(ol.source.Stamen, ol.source.XYZ);
ol.inherits(ol.source.Stamen, ol.source.XYZ);
/**