From 8073213d9e0cc8d24824b93335e747ecdd81e277 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Fri, 7 Sep 2018 19:22:19 -0400 Subject: [PATCH] remove commented out code --- src/app/debugger/debuggerUI/StepManager.js | 35 ---------------------- 1 file changed, 35 deletions(-) diff --git a/src/app/debugger/debuggerUI/StepManager.js b/src/app/debugger/debuggerUI/StepManager.js index 51fa7fd012..ba47a3b7c0 100644 --- a/src/app/debugger/debuggerUI/StepManager.js +++ b/src/app/debugger/debuggerUI/StepManager.js @@ -195,41 +195,6 @@ StepManager.prototype.startButtonNavigator = function () { const self = this this.buttonNavigator = new ButtonNavigator() - // self._parent.event.register('indexChanged', this, (index) => { - // // if (!this.view) return - // if (index < 0) return - // if (self._parent.currentStepIndex !== index) return - - // self.traceManager.buildCallPath(index, (error, callsPath) => { - // if (error) { - // console.log(error) - // if (self.buttonNavigator) { - // self.buttonNavigator.resetWarning('') - // } - // return - // } - // self.currentCall = callsPath[callsPath.length - 1] - // if (self.currentCall.reverted) { - // let revertedReason = self.currentCall.outofgas ? 'outofgas' : '' - // self.revertionPoint = self.currentCall.return - // if (self.buttonNavigator) { - // self.buttonNavigator.resetWarning(revertedReason) - // } - // return - // } - // for (var k = callsPath.length - 2; k >= 0; k--) { - // var parent = callsPath[k] - // if (!parent.reverted) continue - // self.revertionPoint = parent.return - // if (self.buttonNavigator) { - // self.buttonNavigator.resetWarning('parenthasthrown') - // } - // } - // if (self.buttonNavigator) { - // self.buttonNavigator.resetWarning('') - // } - // }) - // }) this.step_manager.event.register('revertWarning', (revertedReason) => { if (self.buttonNavigator) { self.buttonNavigator.resetWarning(revertedReason)