<commit_before><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">

<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>JavaScript Game of Life</title>
	<meta name="generator" content="TextMate http://macromates.com/">
	<meta name="author" content="<NAME>">
  
  <script type="text/javascript" src="javascripts/models/grid.js"></script>
  <script type="text/javascript" src="javascripts/views/canvas_grid.js"></script>  
  <script type="text/javascript" src="javascripts/game_of_life.js"></script>
  <script type="text/javascript" src="javascripts/vendor/jquery.js"></script>  
  
  <style type="text/css">
    body {
      margin:0;
      font-family:Helvetica, Arial, sans-serif;
    }
    
    h1 {
      font-size:2em;
      text-align:center;
    }
    
    #container {
      position:relative;
      width:800px;
      height:600px;
      margin:0% auto;
    }
    
    .active {
      background-color:red;
    }
    
    td {
      width:3px;
      height:3px;
      font-size:0px;
    }
    
    p#loading {
      top:40px;
      position:absolute;
      width:160px;
      text-align:center;      
    }
    
    canvas {
      border:solid 1px red;
    }
  </style>
</head>
<body>

  <h1>JavaScript Game of Life</h1>
  <div id="container">
    <p id="loading">Loading…</p>
    <canvas id="canvas_container"></canvas>
  </div>

  <script type="text/javascript">
    var canvasContainer = document.getElementById("canvas_container");
    var canvas = canvasContainer.getContext("2d");    
    var game = new GameOfLife(canvas);
    
    game.initialize(160, 120);
    
  </script>
</body>
</html><commit_msg>Set a static canvas size<commit_after><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">

<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>JavaScript Game of Life</title>
	<meta name="generator" content="TextMate http://macromates.com/">
	<meta name="author" content="<NAME>">
  
  <script type="text/javascript" src="javascripts/models/grid.js"></script>
  <script type="text/javascript" src="javascripts/views/canvas_grid.js"></script>  
  <script type="text/javascript" src="javascripts/game_of_life.js"></script>
  <script type="text/javascript" src="javascripts/vendor/jquery.js"></script>  
  
  <style type="text/css">
    body {
      margin:0;
      font-family:Helvetica, Arial, sans-serif;
    }
    
    h1 {
      font-size:2em;
      text-align:center;
    }
    
    #container {
      position:relative;
      margin:0% auto;
      border:solid 1px blue;
    }
    
    .active {
      background-color:red;
    }
    
    td {
      width:3px;
      height:3px;
      font-size:0px;
    }
    
    p#loading {
      top:40px;
      position:absolute;
      width:160px;
      text-align:center;      
    }
    
    canvas {
      border:solid 1px red;
    }
  </style>
</head>
<body>

  <h1>JavaScript Game of Life</h1>
  <div id="container">
    <p id="loading">Loading…</p>
    <canvas id="canvas_container" width="800" height="450"></canvas>
  </div>

  <script type="text/javascript">
    var canvasContainer = document.getElementById("canvas_container");
    var canvas = canvasContainer.getContext("2d");    
    var game = new GameOfLife(canvas);
    
    game.initialize(160, 90);
    
  </script>
</body>
</html>
{'fraction_non_alphanumeric': 0.1626488527446994, 'fraction_numerical': 0.020331106593087424, 'mean_word_length': 2.776315789473684, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 69, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '185243', 'n_tokens_mistral': 1237, 'n_tokens_neox': 1182, 'n_words': 204}