From 3181753c04d1e7654b84409983c886c09d5d43ac Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Mon, 14 Nov 2016 11:57:40 +0000 Subject: [PATCH] Remove unused web3 parameter from Renderer --- src/app.js | 2 +- src/app/renderer.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/app.js b/src/app.js index cbc899adda..9349005c76 100644 --- a/src/app.js +++ b/src/app.js @@ -445,7 +445,7 @@ var run = function () { startdebugging(txResult.transactionHash) }) - var renderer = new Renderer(editor, executionContext.web3(), updateFiles, udapp, executionContext, formalVerification.event, compiler.event) // eslint-disable-line + var renderer = new Renderer(editor, updateFiles, udapp, executionContext, formalVerification.event, compiler.event) // eslint-disable-line var staticanalysis = new StaticAnalysis(compiler.event, renderer, editor, offsetToLineColumnConverter) $('#staticanalysisView').append(staticanalysis.render()) diff --git a/src/app/renderer.js b/src/app/renderer.js index c9b6382c47..87c6fadc07 100644 --- a/src/app/renderer.js +++ b/src/app/renderer.js @@ -5,9 +5,8 @@ var $ = require('jquery') var utils = require('./utils') var uiHelper = require('./ui-helper') -function Renderer (editor, web3, updateFiles, udapp, executionContext, formalVerificationEvent, compilerEvent) { +function Renderer (editor, updateFiles, udapp, executionContext, formalVerificationEvent, compilerEvent) { this.editor = editor - this.web3 = web3 this.updateFiles = updateFiles this.udapp = udapp this.executionContext = executionContext