From 8afdce3e00340fa5807b3f428cb4656d8fa70ceb Mon Sep 17 00:00:00 2001 From: Lutz Helm Date: Wed, 15 Jan 2020 09:56:45 +0100 Subject: [PATCH] Add error message if IIIF data @context property contains no IIIF context URI --- src/iiiftilesource.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iiiftilesource.js b/src/iiiftilesource.js index 65ec3d8f..f5df16fb 100644 --- a/src/iiiftilesource.js +++ b/src/iiiftilesource.js @@ -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'] ) {