got components exporting properly

This commit is contained in:
bill bittner 2018-03-20 17:08:30 -07:00
parent 8369b6709e
commit 6713d660b3
5 changed files with 55069 additions and 29 deletions

View file

@ -1,16 +1,16 @@
import ActiveStatusBar from 'components/ActiveStatusBar';
import AssetPreview from 'components/AssetPreview';
import ExpandingTextArea from 'components/ExpandingTextArea';
import GAListener from 'components/GAListener';
import InactiveStatusBar from 'components/InactiveStatusBar';
import Logo from 'components/Logo';
import NavBarChannelOptionsDropdown from 'components/NavBarChannelOptionsDropdown';
import ProgressBar from 'components/ProgressBar';
import PublishPreview from 'components/PublishPreview';
import PublishUrlMiddleDisplay from 'components/PublishUrlMiddleDisplay';
import SEO from 'components/SEO';
import ActiveStatusBar from './ActiveStatusBar';
import AssetPreview from './AssetPreview';
import ExpandingTextArea from './ExpandingTextArea';
import GAListener from './GAListener';
import InactiveStatusBar from './InactiveStatusBar';
import Logo from './Logo';
import NavBarChannelOptionsDropdown from './NavBarChannelOptionsDropdown';
import ProgressBar from './ProgressBar';
import PublishPreview from './PublishPreview';
import PublishUrlMiddleDisplay from './PublishUrlMiddleDisplay';
import SEO from './SEO';
const components = {
module.exports = {
ActiveStatusBar,
AssetPreview,
ExpandingTextArea,
@ -22,6 +22,4 @@ const components = {
PublishPreview,
PublishUrlMiddleDisplay,
SEO,
}
export default components;
};

9282
index.js

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -11,7 +11,7 @@ const http = require('http');
// logging dependencies
const logger = require('winston');
function SpeechServer () {
function Server () {
this.configureMysql = (mysqlConfig) => {
require('../config/mysqlConfig.js').configure(mysqlConfig);
};
@ -96,4 +96,4 @@ function SpeechServer () {
};
};
module.exports = SpeechServer;
module.exports = Server;

View file

@ -1,11 +1,11 @@
const server = require('server/server.js');
const components = require('client/components');
const Server = require('server/server.js');
const Components = require('client/components');
// const containers = require('client/containers');
// const pages = require('client/pages');
const exports = {
SpeechServer: server,
Components : components,
Server,
Components,
// containers,
// pages,
};