<commit_before><!DOCTYPE html>
<html lang="en-AU">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="initial-scale=1, minimum-scale=1" />
<title>Pagination Demo</title>
<link rel="stylesheet" type="text/css" href="assets/demo.css" />
</head>


<body>
	<h1></h1>
	<div id="pager"></div>
	
	<script src="../src/helpers.js"></script>
	<script src="../src/pagination.js"></script>
	<script>
		"use strict";
		
		let h1    = document.querySelector("h1");
		let el    = document.getElementById("pager");
		let pager = new Pagination(el, {
			onChange: function(index){
				h1.textContent = "Page " + (index+1) + " of " + this.length;
			}
		});
	</script>
</body>
</html>
<commit_msg>Convert demo's inline script to ES5<commit_after><!DOCTYPE html>
<html lang="en-AU">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="initial-scale=1, minimum-scale=1" />
<title>Pagination Demo</title>
<link rel="stylesheet" type="text/css" href="assets/demo.css" />
</head>


<body>
	<h1></h1>
	<div id="pager"></div>
	
	<script src="../src/helpers.js"></script>
	<script src="../src/pagination.js"></script>
	<script>
		"use strict";
		
		var h1    = document.querySelector("h1");
		var el    = document.getElementById("pager");
		var pager = new Pagination(el, {
			onChange: function(index){
				h1.textContent = "Page " + (index+1) + " of " + this.length;
			}
		});
	</script>
</body>
</html>

{'fraction_non_alphanumeric': 0.21731008717310088, 'fraction_numerical': 0.011830635118306352, 'mean_word_length': 4.251633986928105, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 49, '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': '7008545', 'n_tokens_mistral': 633, 'n_tokens_neox': 593, 'n_words': 113}