From 48257c80b5e4e82cf3fcf12c62fc141aaba3de7c Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Sat, 17 Jul 2021 16:04:31 +0900 Subject: [PATCH] fix(curriculum): typo in comment (#42914) preceed -> precede --- client/src/utils/curriculum-helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/utils/curriculum-helpers.ts b/client/src/utils/curriculum-helpers.ts index 6e0211d0dc..a5d7b12ed5 100644 --- a/client/src/utils/curriculum-helpers.ts +++ b/client/src/utils/curriculum-helpers.ts @@ -31,7 +31,7 @@ This helper checks if a function/method is called with no arguments. Because Safari does not support lookbehinds (as of writing this on July 14 2021), avoiding false matches on function definitions is done by -checking that only whitespace characters preceed the calling name on the line +checking that only whitespace characters precede the calling name on the line it is found on. That makes this helper incompatible with removeWhiteSpace() above, which removes all whitespace characters. */