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
@@ -29,7 +29,7 @@ ol.tilegrid.WMTS = function(options) {
this.matrixIds_ = options.matrixIds;
// FIXME: should the matrixIds become optionnal?
goog.base(this, {
ol.tilegrid.TileGrid.call(this, {
extent: options.extent,
origin: options.origin,
origins: options.origins,
@@ -40,7 +40,7 @@ ol.tilegrid.WMTS = function(options) {
});
};
goog.inherits(ol.tilegrid.WMTS, ol.tilegrid.TileGrid);
ol.inherits(ol.tilegrid.WMTS, ol.tilegrid.TileGrid);
/**