<commit_before>(function(){
	// Caché the board element
	var board = document.querySelector('#gameboard');

	// 
	var revealCheckbox = function(e){
		e.preventDefault();
		e.currentTarget.className = 'hidden';
		return false;
	};

	var markCheckbox = function(e){
		e.preventDefault();
		e.currentTarget.checked = !e.currentTarget.checked;
		return false;
	};

	var all = document.querySelectorAll('#gameboard>.tile>input');
	for(var i=0, len = all.length;i<len;i++)
	{
		all[i].addEventListener('contextmenu',markCheckbox);
		all[i].addEventListener('click',revealCheckbox);	
	};
	var getCell = function(row,col){
		var el = board.children[row * col];
		return el;
	};
	var tile = getCell(0,5);
	console.log(tile);

})();<commit_msg>No comments<commit_after>(function(){
	// Caché the board element
	var board = document.querySelector('#gameboard');

	// 
	var revealCheckbox = function(e){
		e.preventDefault();
		e.currentTarget.className = 'hidden';
		return false;
	};

	var markCheckbox = function(e){
		e.preventDefault();
		e.currentTarget.checked = !e.currentTarget.checked;
		return false;
	};

	var all = document.querySelectorAll('#gameboard>.tile>input');
	for(var i=0, len = all.length;i<len;i++)
	{
		all[i].addEventListener('contextmenu',markCheckbox);
		all[i].addEventListener('click',revealCheckbox);	
	};
	var getCell = function(row,col){

		var el = board.children[row * col];
		return el;
	};

	var tile = getCell(1,1);

})();
{'fraction_non_alphanumeric': 0.16988950276243095, 'fraction_numerical': 0.004143646408839779, 'mean_word_length': 4.772908366533865, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '1403457', 'n_tokens_mistral': 516, 'n_tokens_neox': 491, 'n_words': 92}