<commit_before>import React from 'react'
import { render } from 'react-dom'
import { Router, browserHistory } from 'react-router'
import routes from './modules/routes'

// Force CSS to load.  This should use extract text in production.
import styles from './sass/App.sass'

const API_BASE = "http://localhost:3000"

//var get = new Promise(function(resolve, reject) {
//  var xhr = new XMLHttpRequest();
//  xhr.open('get', `${API_BASE}/collections`);
//  xhr.send();
//  xhr.onload = () => (this.status >= 200 && this.status < 300) ?
//    resolve(this.response) : reject(this.statusText)
//  xhr.onerror = () => reject(this.statusText)
//});

render(<Router routes={routes} history={browserHistory}/>,
       document.querySelector("#app"))







<commit_msg>Pruning.<commit_after>import React from 'react';
import { render } from 'react-dom';
import { Router, browserHistory } from 'react-router';
import routes from './modules/routes';

// Force CSS to load.  This should use extract text in production.
import styles from './sass/App.sass';

render(<Router routes={routes} history={browserHistory}/>,
       document.querySelector("#app"));








{'fraction_non_alphanumeric': 0.16464471403812825, 'fraction_numerical': 0.008665511265164644, 'mean_word_length': 3.978448275862069, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 8, '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': '689436', 'n_tokens_mistral': 367, 'n_tokens_neox': 349, 'n_words': 96}