<commit_before>var domready = require('domready');

var MainView = require('./views/main');
var Router = require('./router');

window.app = {
	config: config,
	init: function() {
		var self = this;

		//this.me = new Me();

		this.router = new Router();

		domready(function() {
			self.view = new MainView({
				el: document.body
			});
			self.router.history.start({pushState: true});
			self.me.fetch();
		});
	}
};

window.app.init();<commit_msg>Removing client config for now.<commit_after>var domready = require('domready');

var MainView = require('./views/main');
var Router = require('./router');

window.app = {
	init: function() {
		var self = this;

		//this.me = new Me();

		this.router = new Router();

		domready(function() {
			self.view = new MainView({
				el: document.body
			});
			self.router.history.start({pushState: true});
			self.me.fetch();
		});
	}
};

// TODO gideong: figure out how to pass in a config here.
window.app.init();
{'fraction_non_alphanumeric': 0.1845672575599583, 'fraction_numerical': 0.0, 'mean_word_length': 3.3636363636363638, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7505264', 'n_tokens_mistral': 359, 'n_tokens_neox': 320, 'n_words': 78}