<commit_before>// polyfills
import 'regenerator-runtime/runtime'
import 'whatwg-fetch'
import Promise from 'bluebird'

import React from 'react'
import ReactDOM from 'react-dom'
import PropTypes from 'prop-types'
import {BrowserRouter} from 'react-router-dom'
import App from './components/App'
import getConfiguredStore from './configureStore'
import {Provider} from 'react-redux'

import './customBootstrap.css'

window.Promise = Promise

// a short-term fix for data-provider, should get fixed in next release
class DispatchProvider extends React.Component {
  static childContextTypes = {
    dispatch: PropTypes.func,
  }
<commit_msg>Custom data-providers default loading animation (#48)<commit_after>// polyfills
import 'regenerator-runtime/runtime'
import 'whatwg-fetch'
import Promise from 'bluebird'

import React from 'react'
import ReactDOM from 'react-dom'
import PropTypes from 'prop-types'
import {BrowserRouter} from 'react-router-dom'
import {dataProvidersConfig} from 'data-provider'
import App from './components/App'
import Loading from './components/Loading'
import getConfiguredStore from './configureStore'
import {Provider} from 'react-redux'

import './customBootstrap.css'

window.Promise = Promise

dataProvidersConfig({loadingComponent: <Loading />})

// a short-term fix for data-provider, should get fixed in next release
class DispatchProvider extends React.Component {
  static childContextTypes = {
    dispatch: PropTypes.func,
  }

{'fraction_non_alphanumeric': 0.09965870307167235, 'fraction_numerical': 0.0013651877133105802, 'mean_word_length': 5.318965517241379, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1260907', 'n_tokens_mistral': 409, 'n_tokens_neox': 402, 'n_words': 137}