From 55afb5c4b731cacee80275ef31f4b891b358e5b4 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Thu, 6 Sep 2018 09:31:48 -0400 Subject: [PATCH] remove unused parameter --- src/app/debugger/debuggerUI/Slider.js | 3 +-- src/app/debugger/debuggerUI/StepManager.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/app/debugger/debuggerUI/Slider.js b/src/app/debugger/debuggerUI/Slider.js index 10ca255d81..b89e78034a 100644 --- a/src/app/debugger/debuggerUI/Slider.js +++ b/src/app/debugger/debuggerUI/Slider.js @@ -4,9 +4,8 @@ var EventManager = remixLib.EventManager var yo = require('yo-yo') class Slider { - constructor (_traceManager, _stepOverride) { + constructor (_stepOverride) { this.event = new EventManager() - this.traceManager = _traceManager this.max this.disabled = true this.view diff --git a/src/app/debugger/debuggerUI/StepManager.js b/src/app/debugger/debuggerUI/StepManager.js index d464b292cc..4c818252d2 100644 --- a/src/app/debugger/debuggerUI/StepManager.js +++ b/src/app/debugger/debuggerUI/StepManager.js @@ -26,7 +26,7 @@ function StepManager (_parent, _traceManager) { }) }) - this.slider = new Slider(this.traceManager, (step) => { + this.slider = new Slider((step) => { return this.solidityMode ? this.resolveToReducedTrace(step, 0) : step }) this.slider.event.register('moved', this, function (step) {