check for valid ASSERT in tilesource-dynamic-url test

This commit is contained in:
Tom 2023-11-29 19:34:41 -05:00
parent 9dc96390fc
commit 32f12b3ba5

View File

@ -119,7 +119,8 @@
OpenSeadragon.extend( Tile.prototype, OpenSeadragon.Tile.prototype, { OpenSeadragon.extend( Tile.prototype, OpenSeadragon.Tile.prototype, {
getUrl: function() { getUrl: function() {
ASSERT.ok(true, 'Tile.getUrl called'); // TODO: it seems sometimes this can be called after ASSERT is destroyed; should this be fixed differently?
ASSERT && ASSERT.ok(true, 'Tile.getUrl called');
return OriginalTile.prototype.getUrl.apply(this); return OriginalTile.prototype.getUrl.apply(this);
} }
}); });