From 5a1291ec318a51b04cc5e185cd770a9a13bb79a1 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Wed, 5 Sep 2018 16:59:55 -0400 Subject: [PATCH] remove unused code --- .../remix-debugger/src/ui/EthdebuggerUI.js | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/src/app/debugger/remix-debugger/src/ui/EthdebuggerUI.js b/src/app/debugger/remix-debugger/src/ui/EthdebuggerUI.js index aa7dfc6a67..fa0d3b300c 100644 --- a/src/app/debugger/remix-debugger/src/ui/EthdebuggerUI.js +++ b/src/app/debugger/remix-debugger/src/ui/EthdebuggerUI.js @@ -24,8 +24,6 @@ function EthdebuggerUI (opts) { this.opts = opts || {} this.debugger = opts.debugger - // if (!this.opts.compilationResult) this.opts.compilationResult = () => { return null } - var self = this this.event = new EventManager() @@ -57,25 +55,6 @@ EthdebuggerUI.prototype.updateWeb3Reference = function (web3) { this.txBrowser.web3 = web3 || executionContext.web3() } -// EthdebuggerUI.prototype.setCompilationResult = function (compilationResult) { -// if (compilationResult && compilationResult.sources && compilationResult.contracts) { -// this.debugger.solidityProxy.reset(compilationResult) -// } else { -// this.debugger.solidityProxy.reset({}) -// } -// } - -// EthdebuggerUI.prototype.debug = function (tx) { -// // this.setCompilationResult(this.opts.compilationResult()) -// -// this.debugger.solidityProxy.reset({}) -// if (tx instanceof Object) { -// this.txBrowser.load(tx.hash, tx) -// } else if (tx instanceof String) { -// this.txBrowser.load(tx) -// } -// } - EthdebuggerUI.prototype.render = function () { this.debuggerPanelsView = yo`
` this.debuggerHeadPanelsView = yo`
`