Named exports from ol/source/Tile

This commit is contained in:
Tim Schaub
2018-02-25 08:12:37 -07:00
parent 57d2e7721d
commit e3f15e1d24
2 changed files with 5 additions and 4 deletions

View File

@@ -317,7 +317,7 @@ TileSource.prototype.useTile = nullFunction;
* @param {string} type Type.
* @param {ol.Tile} tile The tile.
*/
TileSource.Event = function(type, tile) {
export const TileSourceEvent = function(type, tile) {
Event.call(this, type);
@@ -329,5 +329,6 @@ TileSource.Event = function(type, tile) {
this.tile = tile;
};
inherits(TileSource.Event, Event);
inherits(TileSourceEvent, Event);
export default TileSource;