console: hook stacktrace to uiConsole directly

This commit is contained in:
bordun 2020-11-09 19:38:17 +01:00
parent e9607aad77
commit 53c32420d1
2 changed files with 4 additions and 10 deletions

View file

@ -43,13 +43,6 @@ class UiConsole extends UiSidePanel {
error(...arguments)
}
// window.onerror = function(message){
// _this.log('error', message)
// onerror(...arguments)
// }
// this.input.addEventListener('keydown', (event)=>{
// if (event.keyCode === 13 && !event.shiftKey) {
//