Skip to content

Commit

Permalink
Remove duplicate code
Browse files Browse the repository at this point in the history
  • Loading branch information
jfirebaugh committed Dec 6, 2017
1 parent 3acb3d7 commit 58c4363
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/source/tile.js
Expand Up @@ -92,7 +92,7 @@ class Tile {
justReloaded: boolean;

/**
* @param {OverscaledTileID} tileID
* @param {OverscaledTileID} tileID
* @param size
*/
constructor(tileID: OverscaledTileID, size: number) {
Expand Down Expand Up @@ -162,13 +162,6 @@ class Tile {
if (data.glyphAtlasImage) {
this.glyphAtlasImage = data.glyphAtlasImage;
}

if (data.iconAtlasImage) {
this.iconAtlasImage = data.iconAtlasImage;
}
if (data.glyphAtlasImage) {
this.glyphAtlasImage = data.glyphAtlasImage;
}
}

/**
Expand Down

0 comments on commit 58c4363

Please sign in to comment.