<commit_before>import '6to5/polyfill'
import 'fetch'

import * as Promise from 'bluebird'
Promise.longStackTraces()

import * as Router from 'react-router'

import * as React from 'react'
React.initializeTouchEvents(true)

import * as _ from 'lodash'

import 'helpers/db'


// Just for use in the browser console, I swear.
window.lodash = _

// Stick React where I (and the Chrome devtools)
// [ok, mostly for the devtools] can see it.
window.React = React

// Handy debugging function
window.log = (...args) => console.log(args)


import Gobbldygook from 'elements/app'
import StudentList from 'elements/studentList'
import Student from 'elements/student'
import CourseTable from 'elements/courseTable'
import SemesterDetail from 'elements/semesterDetail'

let Route = React.createFactory(Router.Route)
let DefaultRoute = React.createFactory(Router.DefaultRoute)

// /
// /s/122932
// /s/122932/overview?sections=d-ba,m-csci
// /s/122932/overview?search
// /s/122932/sem/2014/fall?search=dept: AMCON

let routes = (
	Route({handler: Gobbldygook, name: 'gobbldygook', path: '/'},
		DefaultRoute({handler: StudentList}),
		Route({handler: Student, name: 'student', path: 's/:id'},
			DefaultRoute({handler: CourseTable, path: 'overview'}),
			Route({handler: SemesterDetail, name: 'Semester', path: 'sem/:year/:semester'}))
	)
)<commit_msg>Update some names in index<commit_after>import '6to5/polyfill'
import 'fetch'

import * as Promise from 'bluebird'
Promise.longStackTraces()

import * as Router from 'react-router'

import * as React from 'react'
React.initializeTouchEvents(true)

import * as _ from 'lodash'

import 'helpers/db'


// Just for use in the browser console, I swear.
window.lodash = _

// Stick React where I (and the Chrome devtools)
// [ok, mostly for the devtools] can see it.
window.React = React

// Handy debugging function
window.log = (...args) => console.log(args)


import Gobbldygook from 'elements/app'
import StudentList from 'elements/studentList'
import Student from 'elements/student'
import CourseTable from 'elements/courseTable'
import SemesterDetail from 'elements/semesterDetail'

let Route = React.createFactory(Router.Route)
let DefaultRoute = React.createFactory(Router.DefaultRoute)

// /
// /s/122932
// /s/122932/overview?sections=d-ba,m-csci
// /s/122932/overview?search
// /s/122932/sem/2014/fall?search=dept: AMCON

let routes = (
	Route({handler: Gobbldygook, name: 'gobbldygook', path: '/'},
		DefaultRoute({handler: StudentList}),
		Route({handler: Student, name: 'student', path: 's/:id'},
			DefaultRoute({handler: CourseTable}),
			Route({handler: SemesterDetail, name: 'SemesterDetail', path: 'sem/:year/:semester'}))
	)
)
{'fraction_non_alphanumeric': 0.13811123553564764, 'fraction_numerical': 0.022396416573348264, 'mean_word_length': 4.788336933045357, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6132684', 'n_tokens_mistral': 933, 'n_tokens_neox': 878, 'n_words': 236}