<commit_before><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<title>Bootstrap Pagy Demo</title>

	<script src="../lib/jquery.js"></script>
	<script src="../lib/run_prettify.js"></script>
	<script src="../src/bootstrap-pagy.js"></script>
	<link rel="stylesheet" href="../lib/bootstrap.css" type="text/css" />
	<style type="text/css">
		ol.linenums {
			margin-left: 0px !important;
			padding-left: 40px !important;
		}
	</style>

	<script type="text/javascript">
		$(function() {
			$(".pagination:eq(0)").pagy({
				totalPages: 20,
				currentPage: 3
			});

			$(".pagination:eq(1)").pagy({
				totalPages: 20,
				currentPage: 3,
				page: function(page) {
					$("#current-page").text(page);
					return true;
				}
			});

			$(".pagination:eq(2)").pagy({
				totalPages: 20,
				currentPage: 3,
				truncate: true
			});

			$(".pagination:eq(3)").pagy({
				totalPages: 20,
				currentPage: 3,
				outerWindow: 1,
				first: null,
				last: null
			});

			$(".pagination:eq(4)").pagy({
				totalPages: 20,
				currentPage: 3
			});

			$("#current-page-form").on("submit", function() {
				var currentPage = parseInt($(this).find("input").val());
				$(".pagination:eq(4)").pagy("page", currentPage);
				return false;
			});

			$(".pagination:eq(5)").pagy({
				totalPages: 20,
				currentPage: 3
			});

			$("#total-pages-form").on("submit", function() {
				var currentPage = parseInt($(this).find("input:eq(0)").val());
				var totalPages = parseInt($(this).find("input:eq(1)").val());
				$(".pagination:eq(5)").pagy("page", currentPage, totalPages);
				return false;
			});
		})
	</script>
</head>
<body>
<commit_msg>current page 1 in demo<commit_after><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<title>Bootstrap Pagy Demo</title>

	<script src="../lib/jquery.js"></script>
	<script src="../lib/run_prettify.js"></script>
	<script src="../src/bootstrap-pagy.js"></script>
	<link rel="stylesheet" href="../lib/bootstrap.css" type="text/css" />
	<style type="text/css">
		ol.linenums {
			margin-left: 0px !important;
			padding-left: 40px !important;
		}
	</style>

	<script type="text/javascript">
		$(function() {
			$(".pagination:eq(0)").pagy({
				totalPages: 20,
				currentPage: 1
			});

			$(".pagination:eq(1)").pagy({
				totalPages: 20,
				currentPage: 1,
				page: function(page) {
					$("#current-page").text(page);
					return true;
				}
			});

			$(".pagination:eq(2)").pagy({
				totalPages: 20,
				currentPage: 1,
				truncate: true
			});

			$(".pagination:eq(3)").pagy({
				totalPages: 20,
				currentPage: 1,
				outerWindow: 1,
				first: null,
				last: null
			});

			$(".pagination:eq(4)").pagy({
				totalPages: 20,
				currentPage: 1
			});

			$("#current-page-form").on("submit", function() {
				var currentPage = parseInt($(this).find("input").val());
				$(".pagination:eq(4)").pagy("page", currentPage);
				return false;
			});

			$(".pagination:eq(5)").pagy({
				totalPages: 20,
				currentPage: 1
			});

			$("#total-pages-form").on("submit", function() {
				var currentPage = parseInt($(this).find("input:eq(0)").val());
				var totalPages = parseInt($(this).find("input:eq(1)").val());
				$(".pagination:eq(5)").pagy("page", currentPage, totalPages);
				return false;
			});
		})
	</script>
</head>
<body>

{'fraction_non_alphanumeric': 0.23018981620970172, 'fraction_numerical': 0.020186803253992167, 'mean_word_length': 3.3398692810457518, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 41, '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': '7437453', 'n_tokens_mistral': 1510, 'n_tokens_neox': 1204, 'n_words': 206}