Skip to content

Commit

Permalink
Remove debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed Sep 6, 2024
1 parent 19fee27 commit 4fedd35
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ async function init() {
const vv = visualViewport;
const updateViewportHeight = () => {
document.documentElement.style.setProperty("--visual-viewport-height", `${vv.height}px`)
console.log("vv.height", vv.height)
globalThis.fitAddon?.fit();
}
vv.addEventListener("resize", updateViewportHeight);
Expand All @@ -83,7 +82,6 @@ async function init() {
const term = makeTerminal(currentRubyVersion.version);
// @ts-ignore
window.irbWorker = irbWorker
console.log("irbWorker", irbWorker)
// @ts-ignore
window.term = term;
// @ts-ignore
Expand All @@ -97,7 +95,6 @@ async function init() {

// Save history and .irbrc every 5 seconds
setInterval(() => {
console.info("Snapshotting home directory")
irbWorker.snapshotHomeDir();
}, 5000);
}
Expand Down

1 comment on commit 4fedd35

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for irb-wasm ready!

✅ Preview
https://irb-wasm-lwvr6ah00-yuta-saitos-projects-9b4a9562.vercel.app

Built with commit 4fedd35.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.