vibetunnel/web/public/tests/minimal-test.html
Mario Zechner 43d406a84c Clean up build system and implement XTerm.js renderer
- Replace TypeScript compilation with esbuild bundling
- Organize all generated files in public/bundle/
- Remove PWA features and simplify index.html
- Add XTerm.js renderer with same API as custom renderer
- Create comprehensive test suite in public/tests/
- Update .gitignore to only track source files

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-16 09:33:33 +02:00

39 lines
No EOL
1.1 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>Minimal Test</title>
</head>
<body>
<div id="terminal"></div>
<script>
console.log('Script starting...');
function testBasic() {
console.log('testBasic called');
}
// Make it global so onclick can find it
window.testBasic = testBasic;
console.log('Basic function defined');
</script>
<button onclick="testBasic()">Test Basic</button>
<script type="module">
console.log('Module script starting...');
try {
console.log('About to import TerminalRenderer...');
const { TerminalRenderer } = await import('./renderer.js');
console.log('TerminalRenderer imported successfully');
const terminal = new TerminalRenderer(document.getElementById('terminal'));
console.log('TerminalRenderer created successfully');
} catch (error) {
console.error('Error importing/creating TerminalRenderer:', error);
}
</script>
</body>
</html>