<commit_before><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>Google Maps JavaScript API Example</title>
    <script type="text/javascript">
    //<![CDATA[
    var map;

    function loadMap() {
      map = new GMap2(document.getElementById("map"));
      map.setCenter(new GLatLng(37.4419, -122.1419), 6);
      map.addOverlay(new GMarker(map.getCenter()));
      if (G_API_VERSION) {
        GLog.write(G_API_VERSION);  
      } else {
        GLog.write("No version information available");
      }
    }

    function loadScript() {
      try { GUnload(); } catch (e) {}
      document.getElementById("map").innerHTML = "";
      var script = document.createElement("script");
      script.type = "text/javascript";
      script.src = "http://maps.google.com/maps?file=api&v=" +
        document.getElementById("version").value + 
        "&key=<KEY>" + 
        "&async=2&callback=loadMap";
      document.body.appendChild(script);
    }

    //]]>
    </script>
  </head>
  <body onload="">
    &v=: <input type="text" value="2.x" id="version"/> <input type="button" value="Load Maps API" onclick="loadScript();"/>
    <br/>
    <div id="map" style="width: 500px; height: 300px"></div>
  </body>
</html><commit_msg>Changing version checker to not use dynamic loading<commit_after><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Google Maps JavaScript API Example</title>
<script type="text/javascript">
function getURLParam(name) {
  var regexS = "[\\?&]" + name + "=([^&#]*)";
  var regex = new RegExp(regexS);
  var results = regex.exec(window.location.href);
  return (results === null ? "" : results[1]);
}
var script = '<script src="http://maps.google.com/maps?file=api&v=' + getURLParam('v') + '&key=<KEY>">' + '<//script>';
document.write(script);

function loadMap() {
  map = new GMap2(document.getElementById("map"));
  map.setCenter(new GLatLng(37.4419, -122.1419), 6);
  map.addOverlay(new GMarker(map.getCenter()));
  if (G_API_VERSION != undefined) {
    GLog.write(G_API_VERSION);  
  } else {
    GLog.write("No version information available");
  }
}

</script>
  </head>
  <body onload="loadMap()">
    <div id="map" style="width: 500px; height: 300px"></div>
  </body>
</html>
{'fraction_non_alphanumeric': 0.19930609097918273, 'fraction_numerical': 0.026599845797995375, 'mean_word_length': 3.544658493870403, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 2}, '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': '5917422', 'n_tokens_mistral': 964, 'n_tokens_neox': 891, 'n_words': 170}