From 28c32745fd0c04dc06d20d2b25512f8536a060fd Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Sat, 8 Sep 2018 15:22:32 -0400 Subject: [PATCH] remove unused params --- src/app/debugger/debuggerUI/VmDebugger.js | 2 +- src/app/debugger/debuggerUI/vmDebugger/CalldataPanel.js | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/app/debugger/debuggerUI/VmDebugger.js b/src/app/debugger/debuggerUI/VmDebugger.js index f787a3ae99..06731b0744 100644 --- a/src/app/debugger/debuggerUI/VmDebugger.js +++ b/src/app/debugger/debuggerUI/VmDebugger.js @@ -38,7 +38,7 @@ function VmDebugger (_parentUI, _traceManager, _codeManager, _solidityProxy, _ca self.asmCode.changed([], '', -1) }) - this.calldataPanel = new CalldataPanel(_parentUI, _traceManager) + this.calldataPanel = new CalldataPanel() _parentUI.event.register('indexChanged', this, function (index) { if (index < 0) return if (_parentUI.currentStepIndex !== index) return diff --git a/src/app/debugger/debuggerUI/vmDebugger/CalldataPanel.js b/src/app/debugger/debuggerUI/vmDebugger/CalldataPanel.js index afd072ba48..07c9f88cdc 100644 --- a/src/app/debugger/debuggerUI/vmDebugger/CalldataPanel.js +++ b/src/app/debugger/debuggerUI/vmDebugger/CalldataPanel.js @@ -2,9 +2,7 @@ var DropdownPanel = require('./DropdownPanel') var yo = require('yo-yo') -function CalldataPanel (_parentUI, _traceManager) { - this._parentUI = _parentUI - this.traceManager = _traceManager +function CalldataPanel () { this.basicPanel = new DropdownPanel('Call Data', {json: true}) }