From 584daea7326d81890795ccb7feebcb09978c0a5a Mon Sep 17 00:00:00 2001 From: Antoine Vandecreme Date: Thu, 11 Jun 2015 10:59:32 -0400 Subject: [PATCH] Doc and test messages fix. --- src/tiledimage.js | 2 +- test/modules/events.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tiledimage.js b/src/tiledimage.js index b843ca78..0100e3cd 100644 --- a/src/tiledimage.js +++ b/src/tiledimage.js @@ -1008,7 +1008,7 @@ function setTileLoaded(tiledImage, tile, image, cutoff) { * @property {OpenSeadragon.Tile} tile - The tile which has been loaded. * @property {function} getCompletionCallback - A function giving a callback to call * 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. */ tiledImage.viewer.raiseEvent("tile-loaded", { diff --git a/test/modules/events.js b/test/modules/events.js index 0c5e5df9..b6838b40 100644 --- a/test/modules/events.js +++ b/test/modules/events.js @@ -978,7 +978,7 @@ notOk( tile.loaded, "The tile should not be marked as loaded."); setTimeout(function() { 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(); }, 0); } @@ -1001,7 +1001,7 @@ notOk( tile.loaded, "The tile should not be marked as loaded."); callback(); 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(); }, 0); } @@ -1030,7 +1030,7 @@ notOk( tile.loaded, "The tile should not be marked as loaded."); callback2(); 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(); }, 0); }, 0);