This commit is contained in:
Christian Clauss
2022-05-04 18:10:10 +02:00
committed by GitHub
parent c2f4ea7b13
commit f4a991fd0a

View File

@@ -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) => {