Remove old webgl enable button
This commit is contained in:
@@ -118,7 +118,6 @@ if (document.location.pathname === '/test') {
|
|||||||
} else {
|
} else {
|
||||||
createTerminal();
|
createTerminal();
|
||||||
document.getElementById('dispose').addEventListener('click', disposeRecreateButtonHandler);
|
document.getElementById('dispose').addEventListener('click', disposeRecreateButtonHandler);
|
||||||
document.getElementById('webgl').addEventListener('click', () => term.loadAddon(new WebglAddon()));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function createTerminal(): void {
|
function createTerminal(): void {
|
||||||
|
|||||||
@@ -41,7 +41,6 @@
|
|||||||
<hr/>
|
<hr/>
|
||||||
<p><strong>Attention:</strong> The demo is a barebones implementation and is designed for the development and evaluation of xterm.js only. Exposing the demo to the public as is would introduce security risks for the host.</p>
|
<p><strong>Attention:</strong> The demo is a barebones implementation and is designed for the development and evaluation of xterm.js only. Exposing the demo to the public as is would introduce security risks for the host.</p>
|
||||||
<button id="dispose" title="This is used to testing memory leaks">Dispose terminal</button>
|
<button id="dispose" title="This is used to testing memory leaks">Dispose terminal</button>
|
||||||
<button id="webgl">Enable WebGL Renderer</button>
|
|
||||||
<script src="dist/client-bundle.js" defer ></script>
|
<script src="dist/client-bundle.js" defer ></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user