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
+2 -2
View File
@@ -40,7 +40,7 @@ ol.source.CartoDB = function(options) {
*/
this.templateCache_ = {};
goog.base(this, {
ol.source.XYZ.call(this, {
attributions: options.attributions,
cacheSize: options.cacheSize,
crossOrigin: options.crossOrigin,
@@ -53,7 +53,7 @@ ol.source.CartoDB = function(options) {
});
this.initializeMap_();
};
goog.inherits(ol.source.CartoDB, ol.source.XYZ);
ol.inherits(ol.source.CartoDB, ol.source.XYZ);
/**