Merge pull request #325 from ethereum/web3-cleanup

Remove unused web3 parameter from Renderer
pull/1/head
chriseth 8 years ago committed by GitHub
commit 17e692e983
  1. 2
      src/app.js
  2. 3
      src/app/renderer.js

@ -445,7 +445,7 @@ var run = function () {
startdebugging(txResult.transactionHash) 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) var staticanalysis = new StaticAnalysis(compiler.event, renderer, editor, offsetToLineColumnConverter)
$('#staticanalysisView').append(staticanalysis.render()) $('#staticanalysisView').append(staticanalysis.render())

@ -5,9 +5,8 @@ var $ = require('jquery')
var utils = require('./utils') var utils = require('./utils')
var uiHelper = require('./ui-helper') 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.editor = editor
this.web3 = web3
this.updateFiles = updateFiles this.updateFiles = updateFiles
this.udapp = udapp this.udapp = udapp
this.executionContext = executionContext this.executionContext = executionContext

Loading…
Cancel
Save