Skip to content

Commit db26765

Browse files
committed
fix typos
1 parent 9c72074 commit db26765

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

docs/docs/features/tests.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Screenshots:
1919
- Automated tests increase the confidence in the code and can improve the quality of projects.
2020
- Allows <a href="https://en.wikipedia.org/wiki/Test-driven_development" target="_blank">Test-driven development (TDD)</a>.
2121
- Can be used for education and training by preparing projects with tests that are required to pass by the students' implementation (similar to <a href="https://www.freecodecamp.org/learn" target="_blank">freeCodeCamp</a>).
22-
- Can be used by wesites that offer coding challenges (similar to <a href="https://www.codewars.com/" target="_blank">Codewars</a>).
22+
- Can be used by websites that offer coding challenges (similar to <a href="https://www.codewars.com/" target="_blank">Codewars</a>).
2323

2424
## Demos
2525

docs/docs/languages/eta.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Eta
22

3-
[Eta](https://eta.js.org/) is an embedded JS template engine for Node, Deno, and the browser. Lighweight, fast, and pluggable. Written in TypeScript.
3+
[Eta](https://eta.js.org/) is an embedded JS template engine for Node, Deno, and the browser. Lightweight, fast, and pluggable. Written in TypeScript.
44

55
## Usage
66

src/livecodes/UI/embed-ui.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ export const createEmbedUI = async ({
418418
return decodeURIComponent(iframeUrl.href);
419419
};
420420

421-
const codeTemlates = {
421+
const codeTemplates = {
422422
cdn: (data: FormData) => {
423423
const containerId = getContainerId();
424424
const containerHtml = `<div id="${containerId}"></div>`;
@@ -654,7 +654,7 @@ export default function App() {
654654

655655
previewIframe.src = getIframeUrl(formData);
656656
const embedType = (formData as any).type;
657-
const code = (codeTemlates as any)[embedType]?.(formData);
657+
const code = (codeTemplates as any)[embedType]?.(formData);
658658
const embedTypeLanguages: Record<string, Language> = {
659659
npm: 'javascript',
660660
react: 'jsx',

src/livecodes/html/language-info.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ <h3 data-i18n="language-info:ejs.name">EJS</h3>
434434
<section data-lang="eta">
435435
<h3 data-i18n="language-info:eta.name">Eta</h3>
436436
<div data-i18n="language-info:eta.desc">
437-
Embedded JS template engine for Node, Deno, and the browser. Lighweight, fast, and pluggable.
437+
Embedded JS template engine for Node, Deno, and the browser. Lightweight, fast, and pluggable.
438438
Written in TypeScript.
439439
</div>
440440
<ul data-i18n="language-info:eta.link" data-i18n-prop="innerHTML">

src/livecodes/i18n/locales/en/language-info.lokalise.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@
230230
},
231231
"eta.desc": {
232232
"notes": "",
233-
"translation": "Embedded JS template engine for Node, Deno, and the browser. Lighweight, fast, and pluggable. Written in TypeScript."
233+
"translation": "Embedded JS template engine for Node, Deno, and the browser. Lightweight, fast, and pluggable. Written in TypeScript."
234234
},
235235
"eta.link": {
236236
"notes": "### <tag-1> ###\n<li />\n\n### <tag-2> ###\n<a href=\"https://eta.js.org/\" target=\"_blank\" rel=\"noopener\" />\n\n### <tag-3> ###\n<li />\n\n### <tag-4> ###\n<a href=\"https://eta.js.org/docs/learn\" target=\"_blank\" rel=\"noopener\" />\n\n### <tag-5> ###\n<li />\n\n### <tag-6> ###\n<a href=\"{{DOCS_BASE_URL}}languages/eta\" target=\"_blank\" rel=\"noopener\" />\n\n",

src/livecodes/i18n/locales/en/language-info.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ const languageInfo = {
106106
name: 'EJS',
107107
},
108108
eta: {
109-
desc: 'Embedded JS template engine for Node, Deno, and the browser. Lighweight, fast, and pluggable. Written in TypeScript.',
109+
desc: 'Embedded JS template engine for Node, Deno, and the browser. Lightweight, fast, and pluggable. Written in TypeScript.',
110110
link: '<1><2>Official website</2></1> <3> <4>Documentation</4> </3> <5> <6>LiveCodes Documentations</6> </5>',
111111
name: 'Eta',
112112
},

0 commit comments

Comments
 (0)