We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
puterParent
globalThis
window
1 parent 3fec2ed commit 45cde63Copy full SHA for 45cde63
src/puter-js/src/index.js
@@ -790,7 +790,7 @@ puter.tools = [];
790
* @type {{messageTarget: Window}}
791
*/
792
const puterParent = puter.ui.parentApp();
793
-window.puterParent = puterParent;
+globalThis.puterParent = puterParent;
794
if (puterParent) {
795
console.log("I have a parent, registering tools")
796
puterParent.on('message', async (event) => {
0 commit comments