mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-01-19 17:21:50 +03:00
Fix tests.
This commit is contained in:
parent
f58a525f47
commit
760aaa7dca
@ -2101,6 +2101,8 @@ function getTileSourceImplementation( viewer, tileSource, successCallback,
|
||||
var options = $TileSource.prototype.configure.apply( _this, [ tileSource ] );
|
||||
waitUntilReady(new $TileSource(options), tileSource);
|
||||
}
|
||||
} else if ($.isArray(tileSource)) {
|
||||
successCallback(tileSource);
|
||||
} else {
|
||||
//can assume it's already a tile source implementation
|
||||
waitUntilReady(tileSource, tileSource);
|
||||
|
Loading…
x
Reference in New Issue
Block a user