remove unused code

pull/1/head
Iuri Matias 7 years ago committed by yann300
parent abae083cb0
commit 5a1291ec31
  1. 21
      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`<div class="${css.innerShift}"></div>`
this.debuggerHeadPanelsView = yo`<div class="${css.innerShift}"></div>`

Loading…
Cancel
Save