From 37d4f62ce9ffd773d755d9ade6f42fa972368e64 Mon Sep 17 00:00:00 2001 From: Aiosa Date: Thu, 2 Feb 2023 17:18:12 +0100 Subject: [PATCH] Remove discouraging note on getCompletionCallback use docs. --- src/tiledimage.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/tiledimage.js b/src/tiledimage.js index 1ff579fc..467e4733 100644 --- a/src/tiledimage.js +++ b/src/tiledimage.js @@ -1704,8 +1704,6 @@ $.extend($.TiledImage.prototype, $.EventSource.prototype, /** @lends OpenSeadrag * 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 * call to getCompletionCallback. - * Note: if you do not process the tile in asynchronous context - * (timeout, Promises, async, callbacks such as image.onload ...), do not use this function. */ var fallbackCompletion = getCompletionCallback();