From f9217286e7a852f8d49c009f295ae5bbe0b0b5a1 Mon Sep 17 00:00:00 2001 From: Andras Schmelczer Date: Sat, 12 Jul 2025 15:30:31 +0100 Subject: [PATCH] Improve website's language --- examples/website/src/index.html | 4 ++-- examples/website/src/index.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/website/src/index.html b/examples/website/src/index.html index 1f83ca0..fd1a299 100644 --- a/examples/website/src/index.html +++ b/examples/website/src/index.html @@ -79,8 +79,8 @@ >documentation or try editing the text boxes below to see reconcile-text in - action. Use the tokenisation options below to experiment with different - approaches — the Rust library also supports providing a custom tokeniser. + action. Use the tokenisation options to experiment with different approaches — + the Rust library also supports providing a custom tokeniser.

diff --git a/examples/website/src/index.ts b/examples/website/src/index.ts index 9ed8470..c9fcb46 100644 --- a/examples/website/src/index.ts +++ b/examples/website/src/index.ts @@ -10,7 +10,7 @@ const tokenizerRadios = document.querySelectorAll( 'input[name="tokenizer"]' ) as NodeListOf; -const sampleText = `The \`reconcile\` Rust library is embedded on this page as a WASM module and powers these text boxes. Experiment with changing the "Original", "First concurrent edit", and "Second concurrent edit" text boxes to see competing changes get merged in real-time within the "Deconflicted result" box. Here, you will see color-coded tokens marking the origin of each token, including ones that got deleted. The result highly depends on the tokenisation strategy, for example, deciding how casing or whitespace is taken into account.`; +const sampleText = `The "reconcile-text" Rust library is embedded on this page as a WASM module and powers these text boxes. Experiment with changing the "Original", "First user's edit", and "Second user's edit" text boxes to see competing changes get merged in real-time within the "Merged result" box. Here, you will see color-coded tokens marking the origin of each token, including ones that got deleted. The result highly depends on the tokenisation strategy, for example, deciding how casing or whitespace is taken into account.`; async function main(): Promise { originalTextArea.addEventListener('input', updateMergedText);