mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-01-19 17:21:50 +03:00
Doc and test messages fix.
This commit is contained in:
parent
fa868a039d
commit
584daea732
@ -1008,7 +1008,7 @@ function setTileLoaded(tiledImage, tile, image, cutoff) {
|
|||||||
* @property {OpenSeadragon.Tile} tile - The tile which has been loaded.
|
* @property {OpenSeadragon.Tile} tile - The tile which has been loaded.
|
||||||
* @property {function} getCompletionCallback - A function giving a callback to call
|
* @property {function} getCompletionCallback - A function giving a callback to call
|
||||||
* when the asynchronous processing of the image is done. The image will be
|
* when the asynchronous processing of the image is done. The image will be
|
||||||
* marked as .entirely loaded when the callback has been called once for each
|
* marked as entirely loaded when the callback has been called once for each
|
||||||
* call to getCompletionCallback.
|
* call to getCompletionCallback.
|
||||||
*/
|
*/
|
||||||
tiledImage.viewer.raiseEvent("tile-loaded", {
|
tiledImage.viewer.raiseEvent("tile-loaded", {
|
||||||
|
@ -978,7 +978,7 @@
|
|||||||
notOk( tile.loaded, "The tile should not be marked as loaded.");
|
notOk( tile.loaded, "The tile should not be marked as loaded.");
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
notOk( tile.loading, "The tile should not be marked as loading.");
|
notOk( tile.loading, "The tile should not be marked as loading.");
|
||||||
ok( tile.loaded, "The tile should not be marked as loaded.");
|
ok( tile.loaded, "The tile should be marked as loaded.");
|
||||||
start();
|
start();
|
||||||
}, 0);
|
}, 0);
|
||||||
}
|
}
|
||||||
@ -1001,7 +1001,7 @@
|
|||||||
notOk( tile.loaded, "The tile should not be marked as loaded.");
|
notOk( tile.loaded, "The tile should not be marked as loaded.");
|
||||||
callback();
|
callback();
|
||||||
notOk( tile.loading, "The tile should not be marked as loading.");
|
notOk( tile.loading, "The tile should not be marked as loading.");
|
||||||
ok( tile.loaded, "The tile should not be marked as loaded.");
|
ok( tile.loaded, "The tile should be marked as loaded.");
|
||||||
start();
|
start();
|
||||||
}, 0);
|
}, 0);
|
||||||
}
|
}
|
||||||
@ -1030,7 +1030,7 @@
|
|||||||
notOk( tile.loaded, "The tile should not be marked as loaded.");
|
notOk( tile.loaded, "The tile should not be marked as loaded.");
|
||||||
callback2();
|
callback2();
|
||||||
notOk( tile.loading, "The tile should not be marked as loading.");
|
notOk( tile.loading, "The tile should not be marked as loading.");
|
||||||
ok( tile.loaded, "The tile should not be marked as loaded.");
|
ok( tile.loaded, "The tile should be marked as loaded.");
|
||||||
start();
|
start();
|
||||||
}, 0);
|
}, 0);
|
||||||
}, 0);
|
}, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user