From 32a4f55b70ea9db1ca369424f2ea791635055e45 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Tue, 6 Feb 2018 14:33:54 -0500 Subject: [PATCH] remove unused parameters from the debugger tab constructor --- src/app/panels/righthand-panel.js | 2 +- src/app/tabs/debugger-tab.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/panels/righthand-panel.js b/src/app/panels/righthand-panel.js index f8584172be..3f80cc6b7d 100644 --- a/src/app/panels/righthand-panel.js +++ b/src/app/panels/righthand-panel.js @@ -154,7 +154,7 @@ function RighthandPanel (appAPI, events, opts) { this._view.tabbedMenu.addTab('Run', 'runView', runTab(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('Debugger', 'debugView', debuggerTab(optionViews, appAPI, events, opts)) + this._view.tabbedMenu.addTab('Debugger', 'debugView', debuggerTab(optionViews)) this._view.tabbedMenu.addTab('Support', 'supportView', supportTab(optionViews, appAPI, events, opts)) this._view.tabbedMenu.selectTabByTitle('Compile') diff --git a/src/app/tabs/debugger-tab.js b/src/app/tabs/debugger-tab.js index c96d3866c4..7d3b3e5947 100644 --- a/src/app/tabs/debugger-tab.js +++ b/src/app/tabs/debugger-tab.js @@ -1,7 +1,7 @@ var yo = require('yo-yo') var css = require('./styles/debugger-tab-styles') -function debuggerTab (container, appAPI, events, opts) { +function debuggerTab (container) { var el = yo`