// Style
require('medium-editor/dist/css/medium-editor.css');
require('medium-editor/dist/css/themes/default.css');
require('./styles/index.styl');



require('./utils/ObjectAssignPolyfill');


window.React = React;
window.ReactDOM = ReactDOM;

import { Provider } from 'react-redux';
import {Router, Route, Link, browserHistory, IndexRoute} from 'react-router';
import { syncReduxAndRouter } from 'redux-simple-router'

// Components
import App from './components/App';
import Home from './components/Home';
import PlaylistEditor from './components/PlaylistEditor';
import ArticleSearch from './components/ArticleSearch';
import ArticlePreview from './components/ArticlePreview';
import ArticleCaption from './components/ArticleCaption';
import ImageSelector from './components/ImageSelector';
import Login from './components/Login';
import StyleGuide from './components/StyleGuide';

import { createHistory } from 'history';
import configureStore from './store/configureStore';

const store = configureStore();
const history = createHistory();

syncReduxAndRouter(history, store)

class PlaylistApp extends React.Component{
  render() {
    return (
      <Provider store={store}>
        <Router history={history}>
          <Route path="/" component={App}>
            <IndexRoute component={Home} />
            <Route path="/playlists" component={PlaylistEditor}>
              <Route path="/playlists/article/images" component={ImageSelector} />
              <Route path="/playlists/article/caption" component={ArticleCaption} />
            </Route>
            <Route path="/playlists/article/search" component={ArticleSearch} />
          </Route>
          <Route path="/styleguide" component={StyleGuide}/>
        </Router>
      </Provider>
    )
  }
}

registerComponent('PlaylistApp', PlaylistApp);


@@ -6,115 +6,8 @@
 yle%0A
-require('medium-editor/dist/css/medium-editor.css');%0Arequire('medium-editor/dist/css/themes/default.css');%0A
 requ
@@ -1702,9 +1702,8 @@
 stApp);%0A
-%0A

Remove medium-editor require, since it was removed from package.json in d5fc4b401a3f12f29ded9a76d455d22d03b89426