From d1e00a5e3f313bbd7fc950f2bfc63ff7d77a27d8 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Tue, 6 Feb 2018 14:53:32 -0500 Subject: [PATCH] remove unnecessary parameters from supportTab --- src/app/panels/righthand-panel.js | 2 +- src/app/tabs/styles/tabbed-menu-styles.js | 0 src/app/tabs/support-tab.js | 2 +- src/app/tabs/tabbed-menu.js | 1 - 4 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 src/app/tabs/styles/tabbed-menu-styles.js diff --git a/src/app/panels/righthand-panel.js b/src/app/panels/righthand-panel.js index 88f022ffd3..2e30423162 100644 --- a/src/app/panels/righthand-panel.js +++ b/src/app/panels/righthand-panel.js @@ -155,7 +155,7 @@ function RighthandPanel (appAPI, events, opts) { this._view.tabbedMenu.addTab('Settings', 'settingsView', settingsTab(optionViews, appAPI, events)) this._view.tabbedMenu.addTab('Analysis', 'staticanalysisView', analysisTab(optionViews)) this._view.tabbedMenu.addTab('Debugger', 'debugView', debuggerTab(optionViews)) - this._view.tabbedMenu.addTab('Support', 'supportView', supportTab(optionViews, appAPI, events, opts)) + this._view.tabbedMenu.addTab('Support', 'supportView', supportTab(optionViews)) this._view.tabbedMenu.selectTabByTitle('Compile') self.pluginManager = new PluginManager(appAPI, events) diff --git a/src/app/tabs/styles/tabbed-menu-styles.js b/src/app/tabs/styles/tabbed-menu-styles.js new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/app/tabs/support-tab.js b/src/app/tabs/support-tab.js index e195ed70d5..b7a3fb44cb 100644 --- a/src/app/tabs/support-tab.js +++ b/src/app/tabs/support-tab.js @@ -11,7 +11,7 @@ var infoText = yo` ` -function supportTab (container, appAPI, events, opts) { +function supportTab (container) { var el = yo`
diff --git a/src/app/tabs/tabbed-menu.js b/src/app/tabs/tabbed-menu.js index f601086429..0a838d6013 100644 --- a/src/app/tabs/tabbed-menu.js +++ b/src/app/tabs/tabbed-menu.js @@ -1,6 +1,5 @@ var yo = require('yo-yo') -// -------------- styling ---------------------- var csjs = require('csjs-inject') var styleGuide = require('remix-lib').ui.themeChooser var styles = styleGuide.chooser()