mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-21 20:56:09 +03:00
check for valid ASSERT in tilesource-dynamic-url test
This commit is contained in:
parent
9dc96390fc
commit
32f12b3ba5
@ -119,7 +119,8 @@
|
||||
|
||||
OpenSeadragon.extend( Tile.prototype, OpenSeadragon.Tile.prototype, {
|
||||
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);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user