do not specify local var

pull/1/head
yann300 6 years ago
parent 509e841188
commit c352b2f350
  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