···3737 frame.src = src;
3838 if (opts.id) frame.id = opts.id;
39394040- document.body.appendChild(frame);
4040+ (opts.context || window).document.body.appendChild(frame);
4141 }
42424343 if (frame.contentWindow === null) {
4444 throw new Error("iframe does not have a contentWindow");
4545 }
46464747- const applet = await applets.connect<D>(frame.contentWindow);
4747+ const applet = await applets.connect<D>(frame.contentWindow, { context: opts.context });
48484949 if (opts.setHeight) {
5050 applet.onresize = () => {
+1-1
src/scripts/themes/pilot/index.ts
···90909191// NOTE: How do we sync new remote data with our local/in-memory data?
9292//
9393-// orchestrator.storage.data = {
9393+// storage.output.memory.data = {
9494// sources: [],
9595// tracks: []
9696// }