<commit_before>/**
 * @jsx React.DOM
 */
var React = require('react');
var GithubRibbon = require('./GithubRibbon.jsx');
var SearchBuilder = require('./SearchBuilder.jsx');
var SearchResults = require('./SearchResults.jsx');
var Footer = require('./Footer.jsx');

var app = app || {};

(function () {
    'use strict';

/* TODO: Subcomponents use data- attributes. Use props instead. */

    var LtdlApp = React.createClass({
        showResults: function (results) {
            this.refs.results.show(results);
        },
        render: function () {
            return (
                <div className="container">
                    <GithubRibbon/>
                    <h1>LTDL3 Search Builder Prototype</h1>
                    <SearchBuilder showResults={this.showResults} url="http://solr1.mooo.com:8983/solr/ltdl3test/select"/>
                    <SearchResults ref="results"/>
                    <Footer/>
                </div>
            );
        }
    });

    React.renderComponent(
        <LtdlApp/>,
        document.getElementById('content')
    );
}());
<commit_msg>rm dead code<commit_after>/**
 * @jsx React.DOM
 */
var React = require('react');
var GithubRibbon = require('./GithubRibbon.jsx');
var SearchBuilder = require('./SearchBuilder.jsx');
var SearchResults = require('./SearchResults.jsx');
var Footer = require('./Footer.jsx');

(function () {
    'use strict';

/* TODO: Subcomponents use data- attributes. Use props instead. */

    var LtdlApp = React.createClass({
        showResults: function (results) {
            this.refs.results.show(results);
        },
        render: function () {
            return (
                <div className="container">
                    <GithubRibbon/>
                    <h1>LTDL3 Search Builder Prototype</h1>
                    <SearchBuilder showResults={this.showResults} url="http://solr1.mooo.com:8983/solr/ltdl3test/select"/>
                    <SearchResults ref="results"/>
                    <Footer/>
                </div>
            );
        }
    });

    React.renderComponent(
        <LtdlApp/>,
        document.getElementById('content')
    );
}());

{'fraction_non_alphanumeric': 0.14821676702176934, 'fraction_numerical': 0.008337193144974525, 'mean_word_length': 1.9508196721311475, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, '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': '2053211', 'n_tokens_mistral': 627, 'n_tokens_neox': 604, 'n_words': 117}