lingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
13 lines • 500 B
JavaScript
import unsafeGetValue from "../utils/unsafeGetValue";
import createInternalSystem from "./utils/createInternalSystem";
export const runtimeIframeScriptSystem = createInternalSystem("runtimeIframeScriptSystem", {
data: { script: "" },
update: (self, data) => {
const $eval = unsafeGetValue(self, "$eval");
if (!$eval)
return;
$eval(data.script);
runtimeIframeScriptSystem.delete(self);
}
});
//# sourceMappingURL=runtimeIframeScriptSystem.js.map