<commit_before>'use strict';

module.exports = {
	hexToRGB: function( hex ) {
		var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec( hex );
		if ( result ) {
			return {
				r: parseInt( result[1], 16 ),
				g: parseInt( result[2], 16 ),
				b: parseInt( result[3], 16 )
			};
		} else {
			return null;
		}
	},

	hexToTransparentRGB: function( hex, opacity ) {
		var rgb = this.hexToRGB( hex );
		return "rgba(" + rgb.r + ", " + rgb.g + ", " + rgb.b + ", " + opacity + ")";
	}
};<commit_msg>Convert double quotes to single quotes to appease jshint<commit_after>'use strict';

module.exports = {
	hexToRGB: function( hex ) {
		var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec( hex );
		if ( result ) {
			return {
				r: parseInt( result[1], 16 ),
				g: parseInt( result[2], 16 ),
				b: parseInt( result[3], 16 )
			};
		} else {
			return null;
		}
	},

	hexToTransparentRGB: function( hex, opacity ) {
		var rgb = this.hexToRGB( hex );
		return 'rgba(' + rgb.r + ', ' + rgb.g + ', ' + rgb.b + ', ' + opacity + ')';
	}
};
{'fraction_non_alphanumeric': 0.22922636103151864, 'fraction_numerical': 0.022922636103151862, 'mean_word_length': 2.810909090909091, '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': '2723475', 'n_tokens_mistral': 484, 'n_tokens_neox': 425, 'n_words': 92}