import { PLATFORMS, RasterVideo } from "../common/emu"; import { Platform } from "../common/baseplatform"; import { RunResult } from "../common/script/env"; import { Notebook } from "../common/script/ui/notebook"; class ScriptingPlatform implements Platform { mainElement: HTMLElement; iframe: HTMLIFrameElement; notebook: Notebook; constructor(mainElement: HTMLElement) { this.mainElement = mainElement; /* // https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe this.iframe = $(`