mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 14:46:10 +03:00
Add error message if IIIF data @context property contains no IIIF context URI
This commit is contained in:
parent
996cf610c3
commit
8afdce3e00
@ -234,7 +234,7 @@ $.extend( $.IIIFTileSource.prototype, $.TileSource.prototype, /** @lends OpenSea
|
||||
data.version = 3;
|
||||
break;
|
||||
default:
|
||||
// unexpected context
|
||||
$.console.error('Data has a @context property which contains no known IIIF context URI.');
|
||||
}
|
||||
}
|
||||
if ( !data['@id'] && data['id'] ) {
|
||||
|
Loading…
Reference in New Issue
Block a user