remove unused code

pull/1/head
Iuri Matias 6 years ago committed by yann300
parent e322816d0e
commit 3fce0ac98a
  1. 5
      src/app/debugger/debuggerUI/VmDebugger.js

@ -74,11 +74,6 @@ function VmDebugger (_parentUI, _traceManager, _codeManager, _solidityProxy, _ca
this.vmDebuggerLogic = new VmDebuggerLogic(_parentUI, _traceManager, _codeManager, _solidityProxy, _callTree) this.vmDebuggerLogic = new VmDebuggerLogic(_parentUI, _traceManager, _codeManager, _solidityProxy, _callTree)
this.asmCode = new CodeListView() this.asmCode = new CodeListView()
// _codeManager.event.register('changed', this.asmCode.changed.bind(this.asmCode))
// _parent.event.register('traceUnloaded', this, function () {
// self.asmCode.changed([], '', -1)
// })
this.vmDebuggerLogic.event.register('codeManagerChanged', this.asmCode.changed.bind(this.asmCode)) this.vmDebuggerLogic.event.register('codeManagerChanged', this.asmCode.changed.bind(this.asmCode))
this.vmDebuggerLogic.event.register('traceUnloaded', function () { this.vmDebuggerLogic.event.register('traceUnloaded', function () {
self.asmCode.changed([], '', -1) self.asmCode.changed([], '', -1)

Loading…
Cancel
Save