<commit_before>$(document).ready(function(){



	function board(width, height){
		if(width < 3){
			width = 3;
		}
		if(height < 3){
			height = 3;
		}

		var tileSize = "100";

		this.createBoard = function(){
			var html = "";
			for(var i = 0; i < height*width; i++){
				html += "<div></div>";
			}

				$("#board").html(html).css({"grid-template-columns": "repeat("+width+", "+tileSize+"px)",
										 "grid-template-rows": "repeat("+height+", "+tileSize+"px) "});

		}
	}


	$(".createBoard").on("click", function(){
		var w = $("#width").val();
		var h = $("#height").val();

		var b = new board(w,h);
		b.createBoard();
	});<commit_msg>added class to end of row tiles<commit_after>$(document).ready(function(){



	function board(width, height){
		if(width < 3){
			width = 3;
		}
		if(height < 3){
			height = 3;
		}

		var tileSize = "100";

		this.createBoard = function(){
			var html = "";
			for(var i = 0; i < height; i++){
				for(var j = 0; j < width; j++){
					html += j == (width-1) ? "<div class='rowEnd'></div>" : "<div></div>";
				}
			}

				$("#board").html(html).css({"grid-template-columns": "repeat("+width+", "+tileSize+"px)",
										 "grid-template-rows": "repeat("+height+", "+tileSize+"px) "});

		}
	}


	$(".createBoard").on("click", function(){
		var w = $("#width").val();
		var h = $("#height").val();

		var b = new board(w,h);
		b.createBoard();
	});
{'fraction_non_alphanumeric': 0.25519713261648747, 'fraction_numerical': 0.012903225806451613, 'mean_word_length': 3.179640718562874, 'pattern_counts': {'":': 4, '<': 16, '<?xml version=': 0, '>': 9, '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': '2436421', 'n_tokens_mistral': 610, 'n_tokens_neox': 497, 'n_words': 108}