remove unnecessary parameters from runTab

pull/3094/head
Iuri Matias 7 years ago
parent a463328213
commit 82bbf92732
  1. 2
      src/app/panels/righthand-panel.js
  2. 2
      src/app/tabs/run-tab.js

@ -151,7 +151,7 @@ function RighthandPanel (appAPI, events, opts) {
events.rhp = self.event events.rhp = self.event
this._view.tabbedMenu.addTab('Compile', 'compileView', compileTab(optionViews, appAPI, events, opts)) this._view.tabbedMenu.addTab('Compile', 'compileView', compileTab(optionViews, appAPI, events, opts))
this._view.tabbedMenu.addTab('Run', 'runView', runTab(optionViews, appAPI, events, opts)) this._view.tabbedMenu.addTab('Run', 'runView', runTab(optionViews, appAPI, events))
this._view.tabbedMenu.addTab('Settings', 'settingsView', settingsTab(optionViews, appAPI, events, opts)) this._view.tabbedMenu.addTab('Settings', 'settingsView', settingsTab(optionViews, appAPI, events, opts))
this._view.tabbedMenu.addTab('Analysis', 'staticanalysisView', analysisTab(optionViews)) this._view.tabbedMenu.addTab('Analysis', 'staticanalysisView', analysisTab(optionViews))
this._view.tabbedMenu.addTab('Debugger', 'debugView', debuggerTab(optionViews)) this._view.tabbedMenu.addTab('Debugger', 'debugView', debuggerTab(optionViews))

@ -20,7 +20,7 @@ var noInstancesText = yo`<div class="${css.noInstancesText}">0 contract Instance
var pendingTxsText = yo`<span></span>` var pendingTxsText = yo`<span></span>`
function runTab (container, appAPI, appEvents, opts) { function runTab (container, appAPI, appEvents) {
var events = new EventManager() var events = new EventManager()
var clearInstanceElement = yo`<i class="${css.clearinstance} fa fa-minus-square-o" title="Clear Instances List" aria-hidden="true"></i>` var clearInstanceElement = yo`<i class="${css.clearinstance} fa fa-minus-square-o" title="Clear Instances List" aria-hidden="true"></i>`

Loading…
Cancel
Save