text: /**
   * app.js
   *
   * This is the entry file for the application, only setup and boilerplate
   * code.
   */
  
  // Needed for redux-saga es6 generator support
  import 'babel-polyfill';
  
  // Import all the third party stuff
  import React from 'react';
  import ReactDOM from 'react-dom';
  import { Provider } from 'react-redux';
  import { ConnectedRouter } from 'react-router-redux';
  import FontFaceObserver from 'fontfaceobserver';
  import createHistory from 'history/createBrowserHistory';
  import Web3 from 'web3';
  import { EthereumProvider } from 'react-ethereum-provider';
  
  import 'sanitize.css/sanitize.css';
  import 'bootstrap/dist/css/bootstrap.css';
  import 'designmodo-flat-ui/dist/css/flat-ui.css';
  import 'rc-slider/assets/index.css';
  
  import 'css/tulip.css';
  
  // Import root app
  import App from 'containers/App';
  
  // Load the favicon, the manifest.json file and the .htaccess file
  /* eslint-disable import/no-webpack-loader-syntax */
  import '!file-loader?name=[name].[ext]!./manifest.json';
  import 'file-loader?name=[name].[ext]!./.htaccess'; // eslint-disable-line import/extensions
  /* eslint-enable import/no-webpack-loader-syntax */
  
  import configureStore from './configureStore';
  
  // Import CSS reset and Global Styles
  import './global-styles';
  
  // Observe loading of Open Sans (to remove open sans, remove the <link> tag in
  // the index.html file and this observer)
  const openSansObserver = new FontFaceObserver('Raleway', {});
  
  // When Open Sans is loaded, add a font-family using Open Sans to the body
  openSansObserver.load().then(() => {
    document.body.classList.add('fontLoaded');
  }, () => {
    document.body.classList.remove('fontLoaded');
  });
  
  // Create redux store with history
  const initialState = {};
  const history = createHistory();
  const store = configureStore(initialState, history);
  const MOUNT_NODE = document.getElementById('app');
  
  const render = () => {
    ReactDOM.render(
      <Provider store={store}>
        <EthereumProvider web3={Web3}>
          <ConnectedRouter history={history}>
            <App />
          </ConnectedRouter>
        </EthereumProvider>
      </Provider>,
      MOUNT_NODE
    );
  };
  
  if (module.hot) {
    // Hot reloadable React components and translation json files
    // modules.hot.accept does not accept dynamic dependencies,
    // have to be constants at compile-time
    module.hot.accept(['containers/App'], () => {
      ReactDOM.unmountComponentAtNode(MOUNT_NODE);
      render();
    });
  }
  
  render();
  
  // Install ServiceWorker and AppCache in the end since
  // it's not most important operation and if main code fails,
  // we do not want it installed
  if (process.env.NODE_ENV === 'production') {
    require('offline-plugin/runtime').install(); // eslint-disable-line global-require
  }
  