add quickjs eval engine for macros
This commit is contained in:
parent
35b76802d1
commit
209f5cae9c
9 changed files with 404 additions and 10 deletions
|
|
@ -30,6 +30,9 @@ export async function cam_prepare(widgets, settings, update) {
|
|||
const print = self.kiri_worker.current.print = newPrint(settings, active);
|
||||
const { origin } = settings;
|
||||
|
||||
// wait for safe eval setup
|
||||
await print.ready();
|
||||
|
||||
// cam-specific storage
|
||||
print.output = [];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue