From e5372e2652a7f8519b6e6e037670dd2634b0f891 Mon Sep 17 00:00:00 2001 From: zboris12 Date: Mon, 19 Aug 2024 21:54:15 +0900 Subject: [PATCH] Added explanation of simulating clearTimeout function. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 2c9aa8d..37863ea 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,10 @@ function setTimeout(func, sleep){ Utilities.sleep(sleep); func(); } +// Simulate clearTimeout function for pdf-fontkit +function clearTimeout(timeoutID){ + // Do nothing +} // Simulate window for node-forge var window = globalThis; // Load pdf-lib