Use ol.inherits instead of goog.inherits
This commit is contained in:
1 parent
072728b083
commit
e289bfbb7d
166 files changed
+448
-452
No files matched your search
@@ -248,7 +248,7 @@ ol.test.source.TileMock = function(tileStates) {
|
||||
tileSize: 256
|
||||
});
|
||||
|
||||
goog.base(this, {
|
||||
ol.source.Tile.call(this, {
|
||||
projection: ol.proj.get('EPSG:4326'),
|
||||
tileGrid: tileGrid
|
||||
});
|
||||
@@ -258,7 +258,7 @@ ol.test.source.TileMock = function(tileStates) {
|
||||
}
|
||||
|
||||
};
|
||||
goog.inherits(ol.test.source.TileMock, ol.source.Tile);
|
||||
ol.inherits(ol.test.source.TileMock, ol.source.Tile);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user