From dbfd760ecc8b1cc8793e9a21ce95e8815bd4008a Mon Sep 17 00:00:00 2001 From: David Snelling Date: Mon, 23 Jun 2025 10:59:19 -0700 Subject: [PATCH] **refactor(demo): update logging and function descriptions for consistency** MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### Changes: - **simplified-augmentations.js**: - Updated comments and console logs to replace "examples" with "demo" for consistent terminology. - Adjusted function description and logging messages to align with the recent folder structure changes. - **Renamed**: - `examples/simplified-augmentations.js` → `demo/simplified-augmentations.js`. - `examples/demo.html` → `demo/index.html`. ### Purpose: Revised terminology and logging outputs to reflect the updated folder structure and naming conventions. Improved clarity and consistency across file comments and logs. --- examples/demo.html => demo/index.html | 0 {examples => demo}/simplified-augmentations.js | 8 ++++---- 2 files changed, 4 insertions(+), 4 deletions(-) rename examples/demo.html => demo/index.html (100%) rename {examples => demo}/simplified-augmentations.js (98%) diff --git a/examples/demo.html b/demo/index.html similarity index 100% rename from examples/demo.html rename to demo/index.html diff --git a/examples/simplified-augmentations.js b/demo/simplified-augmentations.js similarity index 98% rename from examples/simplified-augmentations.js rename to demo/simplified-augmentations.js index 3ab0f135..55514952 100644 --- a/examples/simplified-augmentations.js +++ b/demo/simplified-augmentations.js @@ -370,7 +370,7 @@ async function example5() { } /** - * Run all examples + * Run all demo */ async function runExamples() { try { @@ -380,11 +380,11 @@ async function runExamples() { await example4() await example5() - console.log('All examples completed successfully!') + console.log('All demo completed successfully!') } catch (error) { - console.error('Error running examples:', error) + console.error('Error running demo:', error) } } -// Run the examples +// Run the demo runExamples()