mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-01-20 01:31:45 +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 ] );
|
var options = $TileSource.prototype.configure.apply( _this, [ tileSource ] );
|
||||||
waitUntilReady(new $TileSource(options), tileSource);
|
waitUntilReady(new $TileSource(options), tileSource);
|
||||||
}
|
}
|
||||||
|
} else if ($.isArray(tileSource)) {
|
||||||
|
successCallback(tileSource);
|
||||||
} else {
|
} else {
|
||||||
//can assume it's already a tile source implementation
|
//can assume it's already a tile source implementation
|
||||||
waitUntilReady(tileSource, tileSource);
|
waitUntilReady(tileSource, tileSource);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user