mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-02-16 14:53:14 +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;
|
data.version = 3;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
// unexpected context
|
$.console.error('Data has a @context property which contains no known IIIF context URI.');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ( !data['@id'] && data['id'] ) {
|
if ( !data['@id'] && data['id'] ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user