Fixes #522
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { CodeWidgetContent } from "$sb/types.ts";
|
||||
import { SysCallMapping } from "../../plugos/system.ts";
|
||||
import { broadcastReload } from "../components/widget_sandbox_iframe.ts";
|
||||
|
||||
export function clientCodeWidgetSyscalls(): SysCallMapping {
|
||||
return {
|
||||
"codeWidget.refreshAll": () => {
|
||||
broadcastReload();
|
||||
},
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user