mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-21 11:15:36 -05:00
remove async from method that is not async anymore
This commit is contained in:
@@ -218,7 +218,7 @@ function createWidget(name: string, code: string, klass: string) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
async registerWidget() {
|
registerWidget() {
|
||||||
const pyodide = runtime;
|
const pyodide = runtime;
|
||||||
console.log('new widget registered:', this.name);
|
console.log('new widget registered:', this.name);
|
||||||
pyodide.globals.set(this.id, this.proxy);
|
pyodide.globals.set(this.id, this.proxy);
|
||||||
|
|||||||
Reference in New Issue
Block a user