10000 Merge pull request #192 from cclauss/patch-2 · fskydev/pyscript@6ea9627 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6ea9627

Browse files
authored
Merge pull request pyscript#192 from cclauss/patch-2
interpreter.ts: Typo functions
2 parents 48ff012 + a6a0933 commit 6ea9627

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

pyscriptjs/examples/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ <h2 class="text-2xl font-bold text-blue-600"><a href="./panel_stream.html" targe
8585
</p>
8686

8787
<h2 class="text-2xl font-bold text-blue-600"><a href="./panel.html" target=”_blank”>Simple Panel Demo</a></h2>
88-
<p>Simple demo showing Panel widgets interating with parts of the page
88+
<p>Simple demo showing Panel widgets interacting with parts of the page
8989

9090
WARNING: This examples takes a little longer to load. So be patient :)
9191
</p>

pyscriptjs/src/components/pybox.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class PyBox extends HTMLElement {
2626
while (this.childNodes.length > 0) {
2727
console.log(this.firstChild);
2828
if (this.firstChild.nodeName == 'PY-REPL') {
29-
// in this case we need to remove the child and craete a new one from scratch
29+
// in this case we need to remove the child and create a new one from scratch
3030
const replDiv = document.createElement('div');
3131
// we need to put the new repl inside a div so that if the repl has auto-generate true
3232
// it can replicate itself inside that constrained div

pyscriptjs/src/components/pyscript.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ async function initHandlers() {
141141
source = `Element("${el.id}").element.onclick = ${handlerCode}`;
142142
output = await pyodide.runPythonAsync(source);
143143

144-
// TODO: Should we actually map handlers in JS instaed of Python?
144+
// TODO: Should we actually map handlers in JS instead of Python?
145145
// el.onclick = (evt: any) => {
146146
// console.log("click");
147147
// new Promise((resolve, reject) => {

pyscriptjs/src/interpreter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ const loadInterpreter = async function (): Promise<any> {
422422
stderr: console.log,
423423
});
424424

425-
// now that we loaded, add additional convenience fuctions
425+
// now that we loaded, add additional convenience functions
426426
console.log('loading micropip');
427427
await pyodide.loadPackage('micropip');
428428
console.log('loading pyscript module');

0 commit comments

Comments
 (0)
0