Expose private functions in IIIFTileSource for testing purposes

This commit is contained in:
Lutz Helm 2020-01-06 16:16:05 +01:00
parent 456567af59
commit 11719baaaf

View File

@ -432,6 +432,11 @@ $.extend( $.IIIFTileSource.prototype, $.TileSource.prototype, /** @lends OpenSea
uri = [ this['@id'], iiifRegion, iiifSize, IIIF_ROTATION, iiifQuality ].join( '/' );
return uri;
},
__testonly__: {
canBeTiled: canBeTiled,
constructLevels: constructLevels
}
});