Add error message if IIIF data @context property contains no IIIF context URI

This commit is contained in:
Lutz Helm 2020-01-15 09:56:45 +01:00
parent 996cf610c3
commit 8afdce3e00

View File

@ -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'] ) {