|
|
@ -88,7 +88,6 @@ class Terminal extends Plugin { |
|
|
|
this.call('menuicons', 'select', 'debugger') |
|
|
|
this.call('menuicons', 'select', 'debugger') |
|
|
|
this.call('debugger', 'debug', hash) |
|
|
|
this.call('debugger', 'debug', hash) |
|
|
|
}) |
|
|
|
}) |
|
|
|
this.logHtmlResponse = [] |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
onActivation () { |
|
|
|
onActivation () { |
|
|
@ -103,9 +102,8 @@ class Terminal extends Plugin { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
logHtml (html) { |
|
|
|
logHtml (html) { |
|
|
|
// console.log({ html: html.innerText })
|
|
|
|
var command = this.commands.html |
|
|
|
this.logHtmlResponse.push(html.innerText) |
|
|
|
if (typeof command === 'function') command(html) |
|
|
|
this.renderComponent() |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
render () { |
|
|
|
render () { |
|
|
@ -140,7 +138,6 @@ class Terminal extends Plugin { |
|
|
|
commands = {this.commands} |
|
|
|
commands = {this.commands} |
|
|
|
txListener = {this.txListener} |
|
|
|
txListener = {this.txListener} |
|
|
|
eventsDecoder = {this.eventsDecoder} |
|
|
|
eventsDecoder = {this.eventsDecoder} |
|
|
|
logHtml = {this.logHtmlResponse} |
|
|
|
|
|
|
|
/>, |
|
|
|
/>, |
|
|
|
this.element |
|
|
|
this.element |
|
|
|
) |
|
|
|
) |
|
|
|