From f6fc938c8e3528a34145fd637580be95c25b33b9 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 28 Jun 2018 14:30:26 +0200 Subject: [PATCH] do not specify local var --- src/app.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app.js b/src/app.js index e10b1a199b..183b490b80 100644 --- a/src/app.js +++ b/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) // ----------------- Debugger ----------------- - var sourceHighlighter = new SourceHighlighter() - self._view.transactionDebugger = new Debugger('#debugger', sourceHighlighter) + self._view.transactionDebugger = new Debugger('#debugger', new SourceHighlighter()) self._view.transactionDebugger.addProvider('vm', executionContext.vm()) self._view.transactionDebugger.addProvider('injected', executionContext.internalWeb3()) self._view.transactionDebugger.addProvider('web3', executionContext.internalWeb3())