mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-04-17 13:15:53 +00:00
- 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>
39 lines
No EOL
1.1 KiB
HTML
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> |