<commit_before>var Splat = (function(splat, window) {

	function FontLoader() {
		this.totalFonts = 0;
		this.loadedFonts = 0;
	}
	FontLoader.prototype.load = function(fontFamilies) {
		this.totalFonts += fontFamilies.length;

		var that = this;
		WebFont.load({ 
			fontactive: function(familyName, fvd) { 
				that.loadedFonts++;
			},
			custom: {
				families: fontFamilies
			}
		});
	};
	FontLoader.prototype.allLoaded = function() {
		return this.totalFonts == this.loadedFonts;
	};

	splat.FontLoader = FontLoader;<commit_msg>Remove trailing whitespace.<commit_after>var Splat = (function(splat, window) {

	function FontLoader() {
		this.totalFonts = 0;
		this.loadedFonts = 0;
	}
	FontLoader.prototype.load = function(fontFamilies) {
		this.totalFonts += fontFamilies.length;

		var that = this;
		WebFont.load({
			fontactive: function(familyName, fvd) {
				that.loadedFonts++;
			},
			custom: {
				families: fontFamilies
			}
		});
	};
	FontLoader.prototype.allLoaded = function() {
		return this.totalFonts == this.loadedFonts;
	};

	splat.FontLoader = FontLoader;
{'fraction_non_alphanumeric': 0.13240740740740742, 'fraction_numerical': 0.003703703703703704, 'mean_word_length': 3.825892857142857, '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': '7256740', 'n_tokens_mistral': 436, 'n_tokens_neox': 370, 'n_words': 65}