From 6d9f32766745d6042cbdab689fac8bf9f004826e Mon Sep 17 00:00:00 2001 From: Mark Amery Date: Tue, 19 Dec 2023 16:58:59 +0000 Subject: [PATCH] Update comment in index.js to reflect JsDiff->Diff rename in 5.0.0 --- src/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/index.js b/src/index.js index 147cd6f0..443db7e4 100644 --- a/src/index.js +++ b/src/index.js @@ -4,11 +4,11 @@ * Text diff implementation. * * This library supports the following APIs: - * JsDiff.diffChars: Character by character diff - * JsDiff.diffWords: Word (as defined by \b regex) diff which ignores whitespace - * JsDiff.diffLines: Line based diff + * Diff.diffChars: Character by character diff + * Diff.diffWords: Word (as defined by \b regex) diff which ignores whitespace + * Diff.diffLines: Line based diff * - * JsDiff.diffCss: Diff targeted at CSS content + * Diff.diffCss: Diff targeted at CSS content * * These methods are based on the implementation proposed in * "An O(ND) Difference Algorithm and its Variations" (Myers, 1986).