**refactor(demo): update logging and function descriptions for consistency**
### 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.
This commit is contained in:
parent
36336c5180
commit
dbfd760ecc
2 changed files with 4 additions and 4 deletions
|
|
@ -370,7 +370,7 @@ async function example5() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Run all examples
|
* Run all demo
|
||||||
*/
|
*/
|
||||||
async function runExamples() {
|
async function runExamples() {
|
||||||
try {
|
try {
|
||||||
|
|
@ -380,11 +380,11 @@ async function runExamples() {
|
||||||
await example4()
|
await example4()
|
||||||
await example5()
|
await example5()
|
||||||
|
|
||||||
console.log('All examples completed successfully!')
|
console.log('All demo completed successfully!')
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Error running examples:', error)
|
console.error('Error running demo:', error)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Run the examples
|
// Run the demo
|
||||||
runExamples()
|
runExamples()
|
||||||
Loading…
Add table
Add a link
Reference in a new issue