diff --git a/client/src/utils/curriculum-helpers.ts b/client/src/utils/curriculum-helpers.ts index 6e0211d0dcb..a5d7b12ed5d 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. */