Remove old webgl enable button

This commit is contained in:
Daniel
2019-10-26 18:12:56 -07:00
parent 486fc714b3
commit 2f18edbcac
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -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 {
-1
View File
@@ -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>