From bccbf5ecf1e646f185e74ca6538e2509a157ab98 Mon Sep 17 00:00:00 2001 From: Jon Stroop Date: Wed, 11 Sep 2013 13:40:00 -0400 Subject: [PATCH] configureFromObject uses @id --- src/iiif11tilesource.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/iiif11tilesource.js b/src/iiif11tilesource.js index fde83d72..bbef643d 100644 --- a/src/iiif11tilesource.js +++ b/src/iiif11tilesource.js @@ -218,12 +218,7 @@ $.extend( $.IIIF11TileSource.prototype, $.TileSource.prototype, { } */ function configureFromObject( tileSource, configuration ){ - //the image_host property is not part of the iiif standard but is included here to - //allow the info.json and info.xml specify a different server to load the - //images from so we can test the implementation. - if( configuration.image_host ){ - configuration.tilesUrl = configuration.image_host; - } + configuration.tilesUrl = configuration["@id"]; return configuration; }