Source code
Revision control
Copy as Markdown
Other Tools
// This should work for real... at some point.
registerPaint("sure!", () => {});
console.log(
globalThis instanceof PaintWorkletGlobalScope ? "So far so good" : "error"
);
// This should work for real... at some point.
registerPaint("sure!", () => {});
console.log(
globalThis instanceof PaintWorkletGlobalScope ? "So far so good" : "error"
);