diff --git a/src/app/panels/righthand-panel.js b/src/app/panels/righthand-panel.js index f870913867..f8584172be 100644 --- a/src/app/panels/righthand-panel.js +++ b/src/app/panels/righthand-panel.js @@ -153,7 +153,7 @@ function RighthandPanel (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('Settings', 'settingsView', settingsTab(optionViews, appAPI, events, opts)) - this._view.tabbedMenu.addTab('Analysis', 'staticanalysisView', analysisTab(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('Support', 'supportView', supportTab(optionViews, appAPI, events, opts)) this._view.tabbedMenu.selectTabByTitle('Compile') diff --git a/src/app/tabs/analysis-tab.js b/src/app/tabs/analysis-tab.js index 9da5f6773c..8042a42ab1 100644 --- a/src/app/tabs/analysis-tab.js +++ b/src/app/tabs/analysis-tab.js @@ -1,7 +1,7 @@ var yo = require('yo-yo') var css = require('./styles/analysis-tab-styles') -function analysisTab (container, appAPI, events, opts) { +function analysisTab (container) { var el = yo`