diff --git a/pyscriptjs/examples/index.html b/pyscriptjs/examples/index.html index 70c0dcff..b7e91a89 100644 --- a/pyscriptjs/examples/index.html +++ b/pyscriptjs/examples/index.html @@ -85,7 +85,7 @@

Simple Panel Demo

-

Simple demo showing Panel widgets interating with parts of the page +

Simple demo showing Panel widgets interacting with parts of the page WARNING: This examples takes a little longer to load. So be patient :)

diff --git a/pyscriptjs/src/components/pybox.ts b/pyscriptjs/src/components/pybox.ts index c00856da..ef54634f 100644 --- a/pyscriptjs/src/components/pybox.ts +++ b/pyscriptjs/src/components/pybox.ts @@ -26,7 +26,7 @@ export class PyBox extends HTMLElement { while (this.childNodes.length > 0) { console.log(this.firstChild); if (this.firstChild.nodeName == 'PY-REPL') { - // in this case we need to remove the child and craete a new one from scratch + // in this case we need to remove the child and create a new one from scratch const replDiv = document.createElement('div'); // we need to put the new repl inside a div so that if the repl has auto-generate true // it can replicate itself inside that constrained div diff --git a/pyscriptjs/src/components/pyscript.ts b/pyscriptjs/src/components/pyscript.ts index fd8ce42a..c980f335 100644 --- a/pyscriptjs/src/components/pyscript.ts +++ b/pyscriptjs/src/components/pyscript.ts @@ -141,7 +141,7 @@ async function initHandlers() { source = `Element("${el.id}").element.onclick = ${handlerCode}`; output = await pyodide.runPythonAsync(source); - // TODO: Should we actually map handlers in JS instaed of Python? + // TODO: Should we actually map handlers in JS instead of Python? // el.onclick = (evt: any) => { // console.log("click"); // new Promise((resolve, reject) => { diff --git a/pyscriptjs/src/interpreter.ts b/pyscriptjs/src/interpreter.ts index d24e05f4..0bc7492a 100644 --- a/pyscriptjs/src/interpreter.ts +++ b/pyscriptjs/src/interpreter.ts @@ -422,7 +422,7 @@ const loadInterpreter = async function (): Promise { stderr: console.log, }); - // now that we loaded, add additional convenience fuctions + // now that we loaded, add additional convenience functions console.log('loading micropip'); await pyodide.loadPackage('micropip'); console.log('loading pyscript module');