<commit_before>/** @jsx React.DOM */

var React = require('react');

// Require view components. One for each route.
var App = require('./components/App');
var Home = require('./components/Home');
var About = require('./components/About');
var NotFound = require('./components/NotFound');

var Router = require('react-router');
var Route = Router.Route;
var NotFoundRoute = Router.NotFoundRoute;
var DefaultRoute = Router.DefaultRoute;
var Link = Router.Link;
var RouteHandler = Router.RouteHandler;

var Routes = (
  <Route handler={App}>
    <DefaultRoute name="Home" handler={Home}/>
    <Route name="About" path="/about" handler={About}/>
    <NotFoundRoute handler={NotFound}/>
  </Route>
);

module.exports = Routes;<commit_msg>added the most basic of all redirects<commit_after>/** @jsx React.DOM */

var React = require('react');

// Require view components. One for each route.
var App = require('./components/App');
var Home = require('./components/Home');
var About = require('./components/About');
var NotFound = require('./components/NotFound');

var Router = require('react-router');
var Route = Router.Route;
var NotFoundRoute = Router.NotFoundRoute;
var DefaultRoute = Router.DefaultRoute;
var Link = Router.Link;
var RouteHandler = Router.RouteHandler;
var Redirect = Router.Redirect;

var Routes = (
  <Route handler={App}>
    <DefaultRoute name="Home" handler={Home}/>
    <Route name="About" path="/about" handler={About}/>
    <Redirect from="foo" to="About"/>
    <NotFoundRoute handler={NotFound}/>
  </Route>
);

module.exports = Routes;
{'fraction_non_alphanumeric': 0.16261203585147246, 'fraction_numerical': 0.0, 'mean_word_length': 4.704379562043796, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, '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': '6378645', 'n_tokens_mistral': 460, 'n_tokens_neox': 456, 'n_words': 129}