remove unnecessary event

pull/1/head
Iuri Matias 6 years ago committed by yann300
parent 2d85ad1964
commit 2a0b6c71c9
  1. 5
      src/app/debugger/debuggerUI.js

@ -57,6 +57,7 @@ class DebuggerUI {
self.debugger.codeManager.resolveStep(index, self.tx) self.debugger.codeManager.resolveStep(index, self.tx)
self.transactionDebugger.step_manager.event.trigger('indexChanged', [index]) self.transactionDebugger.step_manager.event.trigger('indexChanged', [index])
self.transactionDebugger.vmDebuggerLogic.event.trigger('indexChanged', [index]) self.transactionDebugger.vmDebuggerLogic.event.trigger('indexChanged', [index])
self.transactionDebugger.registerAndHighlightCodeItem(index)
}) })
container.appendChild(this.render()) container.appendChild(this.render())
@ -94,10 +95,6 @@ class DebuggerUI {
self.stepManager.stepManager.jumpTo(step) self.stepManager.stepManager.jumpTo(step)
}) })
this.event.register('indexChanged', function (index) {
self.transactionDebugger.registerAndHighlightCodeItem(index)
})
this.transactionDebugger.event.register('newSourceLocation', function (lineColumnPos, rawLocation) { this.transactionDebugger.event.register('newSourceLocation', function (lineColumnPos, rawLocation) {
self.sourceHighlighter.currentSourceLocation(lineColumnPos, rawLocation) self.sourceHighlighter.currentSourceLocation(lineColumnPos, rawLocation)
}) })

Loading…
Cancel
Save