<commit_before>import DTile from "./dTile.js";

let dTile;

function start() {
	dTile = new DTile();
	window.addEventListener("resize", function() {
		dTile.resize(window.innerWidth, window.innerHeight);
	});
}

document.addEventListener("DOMContentLoaded", start);<commit_msg>Export dTile variable to window scope for now<commit_after>import DTile from "./dTile.js";

let dTile;

function start() {
	dTile = new DTile();
	window.addEventListener("resize", function() {
		dTile.resize(window.innerWidth, window.innerHeight);
	});
	window.dTile = dTile;
}

document.addEventListener("DOMContentLoaded", start);
{'fraction_non_alphanumeric': 0.14614121510673234, 'fraction_numerical': 0.0, 'mean_word_length': 6.011494252873563, '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': '6667988', 'n_tokens_mistral': 189, 'n_tokens_neox': 186, 'n_words': 42}