{"size": 991, "ext": "js", "max_stars_repo_path": "src/index.js", "max_stars_repo_name": "lightgroupsystems/pmi-jobs-database", "max_stars_repo_stars_event_min_datetime": "2017-11-04T17:26:05.000Z", "max_stars_repo_stars_event_max_datetime": "2017-11-04T17:26:05.000Z", "max_issues_repo_path": "src/index.js", "max_issues_repo_name": "lightgroupsystems/pmi-jobs-database", "max_issues_repo_issues_event_min_datetime": "2017-11-25T02:58:28.000Z", "max_issues_repo_issues_event_max_datetime": "2017-12-10T02:38:46.000Z", "max_forks_repo_path": "src/index.js", "max_forks_repo_name": "lightgroupsystems/pmi-jobs-database", "max_forks_repo_forks_event_min_datetime": "2017-11-14T04:00:37.000Z", "max_forks_repo_forks_event_max_datetime": "2017-11-16T01:33:28.000Z"}
{"max_stars_count": 1, "max_issues_count": 5, "max_forks_count": 2, "avg_line_length": 27.5277777778, "max_line_length": 68, "alphanum_fraction": 0.7356205853}
import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import configureStore from './configureStore';
import firebase from 'firebase';
import { Router } from 'react-router-dom';
import injectTapEventPlugin from 'react-tap-event-plugin';
import browserHistory from './browserHistory';
import fbConfig from 'firebaseConfiguration';

import App from './AppContainer';
import './index.css';
import registerServiceWorker from './registerServiceWorker';

const store = configureStore(); // Optional pass in an initialState.

firebase.initializeApp(fbConfig);

ReactDOM.render(
    <Provider store={store}>
        <Router history={browserHistory}>
            <App />
        </Router>
    </Provider>,
    document.getElementById('root')
);

// Needed for onTouchTap
// http://stackoverflow.com/a/34015469/988941
// https://github.com/zilverline/react-tap-event-plugin
injectTapEventPlugin();

// updating app on background
registerServiceWorker();

