diff --git a/com/isoterminal.js b/com/isoterminal.js index c83f5f3..4af0c40 100644 --- a/com/isoterminal.js +++ b/com/isoterminal.js @@ -367,7 +367,6 @@ if( typeof AFRAME != 'undefined '){ this.term.addEventListener('ready', (e) => { instance.dom.classList.remove('blink') this.term.emit('status',"running") - if( this.data.debug ) this.runTests() }) this.term.addEventListener('status', function(e){ @@ -414,14 +413,6 @@ if( typeof AFRAME != 'undefined '){ } }, - runTests: async function(){ - await AFRAME.utils.require({ - "test_util": "tests/util.js", - "test_isoterminal":"tests/ISOTerminal.js" - }) - console.test.run() - }, - setupPasteDrop: function(){ this.el.addEventListener('pasteFile', (e) => { e.preventDefault() // prevent bubbling up to window (which is triggering this initially) diff --git a/com/isoterminal/feat/boot.js b/com/isoterminal/feat/boot.js index 6674117..433a176 100644 --- a/com/isoterminal/feat/boot.js +++ b/com/isoterminal/feat/boot.js @@ -23,7 +23,7 @@ ISOTerminal.prototype.bootMenu = function(e){ } } -ISOTerminal.addEventListener('bootMenu', function(e){ this.bootMenu(e) } ) +ISOTerminal.addEventListener('bootMenu', function(e){this.bootMenu(e) }) ISOTerminal.prototype.boot = async function(e){ // set environment