<commit_before>var TwitterActiveRequestCount	= 0;

var TwitterAPI = function(user) {
	this.apibase		= 'https://api.twitter.com';
	this.version		= '1.1';
	this.user			= user;

	if (chrome) {
		/* Macaw for chrome */
		this.options = {
			consumerKey:	'<KEY>',
			consumerSecret:	'<KEY>'
		};
	} else if (window.PalmSystem) {
		/* Macaw for webOS */
		this.options = {
			consumerKey:	'Jefr6cdzEDDbD1rrOYkFtA',
			consumerSecret:	'<KEY>'
		};
	} else {
		/* Macaw for all the things */
		this.options = {
			consumerKey:	'<KEY>',
			consumerSecret:	'<KEY>'
		};
	}

	this.oauth = OAuth(this.options);

	if (this.user) {<commit_msg>Corrected checks for chrome to prevent problems on other platforms<commit_after>var TwitterActiveRequestCount	= 0;

var TwitterAPI = function(user) {
	this.apibase		= 'https://api.twitter.com';
	this.version		= '1.1';
	this.user			= user;

	if (typeof(chrome) !== "undefined") {
		/* Macaw for chrome */
		this.options = {
			consumerKey:	'<KEY>',
			consumerSecret:	'<KEY>'
		};
	} else if (window.PalmSystem) {
		/* Macaw for webOS */
		this.options = {
			consumerKey:	'Jefr6cdzEDDbD1rrOYkFtA',
			consumerSecret:	'<KEY>'
		};
	} else {
		/* Macaw for all the things */
		this.options = {
			consumerKey:	'J5f7Mh3f3KhgypwV3b5kw',
			consumerSecret:	'<KEY>'
		};
	}

	this.oauth = OAuth(this.options);

	if (this.user) {
{'fraction_non_alphanumeric': 0.16210214655810512, 'fraction_numerical': 0.011843079200592153, 'mean_word_length': 3.3333333333333335, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, 'https://': 2, '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': '1500777', 'n_tokens_mistral': 608, 'n_tokens_neox': 537, 'n_words': 106}