diff --git a/src/puter-js/src/index.js b/src/puter-js/src/index.js index 47f9e7f5f..25d4281fe 100644 --- a/src/puter-js/src/index.js +++ b/src/puter-js/src/index.js @@ -523,12 +523,6 @@ export default window.puter = (function() { } print = function(...args){ - for(let arg of args){ - document.body.innerHTML += arg; - } - } - - log = function(...args) { let container = document.getElementById("--puter-printbox"); if (!container) { document.body.innerHTML += `
`
@@ -545,7 +539,7 @@ export default window.puter = (function() {
container.innerText += '\n';
}
}
- };
+ }
}
// Create a new Puter object and return it
diff --git a/src/puter-js/src/lib/xdrpc.js b/src/puter-js/src/lib/xdrpc.js
index 8b799b2c0..8aa48b248 100644
--- a/src/puter-js/src/lib/xdrpc.js
+++ b/src/puter-js/src/lib/xdrpc.js
@@ -88,8 +88,6 @@ export class Hydrator {
) {
const { id } = value;
return (...args) => {
- // console.log('sending message', { $SCOPE, id, args });
- // console.log('target', this.target);
this.target.postMessage({ $SCOPE, id, args }, '*');
};
} else if (Array.isArray(value)) {