do not specify local var

pull/3094/head
yann300 7 years ago
parent 9d667a9134
commit 3ea93d0b5a
  1. 3
      src/app.js

@ -579,8 +579,7 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
document.querySelector('#editorWrap').addEventListener('change', onResize) document.querySelector('#editorWrap').addEventListener('change', onResize)
// ----------------- Debugger ----------------- // ----------------- Debugger -----------------
var sourceHighlighter = new SourceHighlighter() self._view.transactionDebugger = new Debugger('#debugger', new SourceHighlighter())
self._view.transactionDebugger = new Debugger('#debugger', sourceHighlighter)
self._view.transactionDebugger.addProvider('vm', executionContext.vm()) self._view.transactionDebugger.addProvider('vm', executionContext.vm())
self._view.transactionDebugger.addProvider('injected', executionContext.internalWeb3()) self._view.transactionDebugger.addProvider('injected', executionContext.internalWeb3())
self._view.transactionDebugger.addProvider('web3', executionContext.internalWeb3()) self._view.transactionDebugger.addProvider('web3', executionContext.internalWeb3())

Loading…
Cancel
Save