rhp: refactor requires

pull/1/head
serapath 7 years ago committed by yann300
parent b2274820b4
commit 79af837a44
  1. 11
      src/app/panels/righthand-panel.js

@ -1,20 +1,21 @@
var yo = require('yo-yo') var yo = require('yo-yo')
var remixLib = require('remix-lib') var remixLib = require('remix-lib')
var EventManager = remixLib.EventManager
var PluginManager = require('../plugin/pluginManager')
var TabbedMenu = require('../tabs/tabbed-menu') var TabbedMenu = require('../tabs/tabbed-menu')
var CompileTab = require('../tabs/compile-tab') var CompileTab = require('../tabs/compile-tab')
var RunTab = require('../tabs/run-tab')
var SettingsTab = require('../tabs/settings-tab') var SettingsTab = require('../tabs/settings-tab')
var AnalysisTab = require('../tabs/analysis-tab') var AnalysisTab = require('../tabs/analysis-tab')
var DebuggerTab = require('../tabs/debugger-tab') var DebuggerTab = require('../tabs/debugger-tab')
var SupportTab = require('../tabs/support-tab') var SupportTab = require('../tabs/support-tab')
var PluginTab = require('../tabs/plugin-tab') var PluginTab = require('../tabs/plugin-tab')
var TestTab = require('../tabs/test-tab') var TestTab = require('../tabs/test-tab')
var PluginManager = require('../plugin/pluginManager') var RunTab = require('../tabs/run-tab')
var EventManager = remixLib.EventManager
var css = require('./styles/righthand-panel-styles') var css = require('./styles/righthand-panel-styles')
function RighthandPanel (appAPI = {}, events = {}, opts = {}) { module.exports = function RighthandPanel (appAPI = {}, events = {}, opts = {}) {
var self = this var self = this
self._api = appAPI self._api = appAPI
self.event = new EventManager() self.event = new EventManager()
@ -121,5 +122,3 @@ function RighthandPanel (appAPI = {}, events = {}, opts = {}) {
} }
} }
} }
module.exports = RighthandPanel

Loading…
Cancel
Save