From a712d47663f509e67877735930271750452173ef Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Sun, 13 Oct 2019 03:09:33 -0400 Subject: [PATCH] spelling: programmatically --- src/core/lib/BCD.mjs | 2 +- src/core/operations/URLEncode.mjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/lib/BCD.mjs b/src/core/lib/BCD.mjs index 623a90c7..2f245236 100644 --- a/src/core/lib/BCD.mjs +++ b/src/core/lib/BCD.mjs @@ -22,7 +22,7 @@ export const ENCODING_SCHEME = [ /** * Lookup table for the binary value of each digit representation. * - * I wrote a very nice algorithm to generate 8 4 2 1 encoding programatically, + * I wrote a very nice algorithm to generate 8 4 2 1 encoding programmatically, * but unfortunately it's much easier (if less elegant) to use lookup tables * when supporting multiple encoding schemes. * diff --git a/src/core/operations/URLEncode.mjs b/src/core/operations/URLEncode.mjs index f819ee2e..a5efd213 100644 --- a/src/core/operations/URLEncode.mjs +++ b/src/core/operations/URLEncode.mjs @@ -49,7 +49,7 @@ class URLEncode extends Operation { * @returns {string} */ encodeAllChars (str) { - // TODO Do this programatically + // TODO Do this programmatically return encodeURIComponent(str) .replace(/!/g, "%21") .replace(/#/g, "%23")