<commit_before><!DOCTYPE html>
<html>
  <head>
    <title>Times Table Grid Game</title>
    
        <meta charset="utf-8" />
	<link href="styles/default.css" rel="stylesheet" type="text/css" />
  </head>
  <body  style="background-image:url(pictures/background.png);">
<img src="pictures/logo.png" alt="logo" height="27%" width="100%"> 
<div class="indexButtons">
	 <a href="play.html"><button type="button">Play</button></a>
	 <a href="instructions.html"><button type="button">Instructions</button></a>
	 <a href="highscores.html"><button type="button">High Scores</button></a>
	 <!--Vibration off because it's not supported-->
	 <a href="options.html" id="optionId"><button type="button">Options</button></a>
</div>

    <script type="text/javascript" charset="utf-8">
		var allTimesBlock = 0;
//		document.addEventListener("backbutton", exit, false);
//		document.removeEventListener('backbutton',exit, false);
        var db = window.openDatabase("Database", "1.0", "Cordova", 200000);
        db.transaction(populateDB, errorCB, successCB);
		db.transaction(queryDB, errorCB);
		db.transaction(populateDBblocks, errorCB);
		options();
		
		
		function options() {
			// enable vibration support
			navigator.vibrate = navigator.vibrate || navigator.webkitVibrate || navigator.mozVibrate || navigator.msVibrate;

			if (navigator.vibrate) {
				// vibration API supported
				$('#optionId').show();
			} else {
				$('#optionId').hide();
			}
		}
		
		
		// Populate the database 
		function populateDB(tx) {
			tx.executeSql('DROP TABLE IF EXISTS HIGHSCORES');
			tx.executeSql('CREATE TABLE IF NOT EXISTS HIGHSCORESTABLE (id unique, data)');
			
			tx.executeSql('INSERT OR IGNORE INTO HIGHSCORESTABLE (id, data) VALUES (0, 0)');
			for (var i = 1; i <= 25; i++) {<commit_msg>Changed jquery block to use javascript<commit_after><!DOCTYPE html>
<html>
  <head>
    <title>Times Table Grid Game</title>
    
        <meta charset="utf-8" />
	<link href="styles/default.css" rel="stylesheet" type="text/css" />
  </head>
  <body  style="background-image:url(pictures/background.png);">
<img src="pictures/logo.png" alt="logo" height="27%" width="100%"> 
<div class="indexButtons">
	 <a href="play.html"><button type="button">Play</button></a>
	 <a href="instructions.html"><button type="button">Instructions</button></a>
	 <a href="highscores.html"><button type="button">High Scores</button></a>
	 <!--Vibration off because it's not supported-->
	 <a href="options.html" id="optionId"><button type="button">Options</button></a>
</div>

    <script type="text/javascript" charset="utf-8">
		var allTimesBlock = 0;
//		document.addEventListener("backbutton", exit, false);
//		document.removeEventListener('backbutton',exit, false);
        var db = window.openDatabase("Database", "1.0", "Cordova", 200000);
        db.transaction(populateDB, errorCB, successCB);
		db.transaction(queryDB, errorCB);
		db.transaction(populateDBblocks, errorCB);
		options();
		
		
		function options() {
			// enable vibration support
			navigator.vibrate = navigator.vibrate || navigator.webkitVibrate || navigator.mozVibrate || navigator.msVibrate;
			if (navigator.vibrate) {
				// vibration API supported
				document.getElementById("optionId").style = "display: block"
			} else {
				document.getElementById("optionId").style = "display: none"
			}
		}
		
		
		// Populate the database 
		function populateDB(tx) {
			tx.executeSql('DROP TABLE IF EXISTS HIGHSCORES');
			tx.executeSql('CREATE TABLE IF NOT EXISTS HIGHSCORESTABLE (id unique, data)');
			
			tx.executeSql('INSERT OR IGNORE INTO HIGHSCORESTABLE (id, data) VALUES (0, 0)');
			for (var i = 1; i <= 25; i++) {
{'fraction_non_alphanumeric': 0.17080491132332878, 'fraction_numerical': 0.01145975443383356, 'mean_word_length': 4.320754716981132, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 63, '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': '3563572', 'n_tokens_mistral': 1338, 'n_tokens_neox': 1163, 'n_words': 257}