<commit_before>  var geocoder;
  var map;
  /* global variable to store which city user inputted so that we
  can use it to generate a chart */
  var address;
  // this function will output a marker for the city directly on the map based on the argument you pass it
  function codeAddress(city) {
    address = city;
    geocoder.geocode( { 'address': address}, function(results, status) {
      if (status == google.maps.GeocoderStatus.OK) {
        map.setCenter(results[0].geometry.location);
        var marker = new google.maps.Marker({
            map: map,
            position: results[0].geometry.location
        });
      } else {
        alert('Geocode was not successful for the following reason: ' + status);
      }
    });
  }

 // same as function above but takes user input from textbox
  function codeAddress2() {
      var address = document.getElementById('address').value;
      geocoder.geocode( { 'address': address}, function(results, status) {
        if (status == google.maps.GeocoderStatus.OK) {
          map.setCenter(results[0].geometry.location);
          var marker = new google.maps.Marker({
              map: map,
              position: results[0].geometry.location
          });
        } else {
          alert('Geocode was not successful for the following reason: ' + status);
        }
      });
    }
function make_graph(){
   var barChartData = {
      labels : ["Cats","Dogs","Catdogs"],
      datasets : [
        {
          fillColor : "rgba(220,220,220,0.5)",
          strokeColor : "rgba(220,220,220,1)",
          data : [65,59,90]
        },
        {
          fillColor : "rgba(151,187,205,0.5)",
          strokeColor : "rgba(151,187,205,1)",
          data : [28,48,40]
        }
      ]

    }

  var myLine = new Chart(document.getElementById("canvas").getContext("2d")).Bar(barChartData);
}

$(document).ready(function(){
// google maps api

  function initialize() {
    geocoder = new google.maps.Geocoder();
    var mapOptions = {
      zoom: 3,
      center: new google.maps.LatLng(45.3, -73.34)
    };

    map = new google.maps.Map(document.getElementById('map-canvas'),
        mapOptions);
  }

  function loadScript() {
    var script = document.createElement('script');
    script.type = 'text/javascript';
    script.src = 'https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&' +
        'callback=initialize';
    document.body.appendChild(script);
  }

  function tester() {
    console.log("worked");

  }

  initialize();

  // makes a marker at the designated longitude and lattitude, not useful anymore now that there's codeAddress()
  function make_marker(lat, lng){
    var marker = new google.maps.Marker({
      position: new google.maps.LatLng(lat, lng),
      map: map,
    });

  };

  //make_marker(45.3, -73.34);

   codeAddress('London, Ontario');
});<commit_msg>layout no longer looks funny<commit_after>  var geocoder;
  var map;
  /* global variable to store which city user inputted so that we
  can use it to generate a chart */
  var address;
  // this function will output a marker for the city directly on the map based on the argument you pass it
  function codeAddress(city) {
    address = city;
    geocoder.geocode( { 'address': address}, function(results, status) {
      if (status == google.maps.GeocoderStatus.OK) {
        map.setCenter(results[0].geometry.location);
        var marker = new google.maps.Marker({
            map: map,
            position: results[0].geometry.location
        });
      } else {
        alert('Geocode was not successful for the following reason: ' + status);
      }
    });
  }

 // same as function above but takes user input from textbox
  function codeAddress2() {
      var address = document.getElementById('address').value;
      geocoder.geocode( { 'address': address}, function(results, status) {
        if (status == google.maps.GeocoderStatus.OK) {
          map.setCenter(results[0].geometry.location);
          var marker = new google.maps.Marker({
              map: map,
              position: results[0].geometry.location
          });
        } else {
          alert('Geocode was not successful for the following reason: ' + status);
        }
      });
    }
function make_graph(){
   var barChartData = {
      labels : ["Cats","Dogs","Catdogs"],
      datasets : [
        {
          fillColor : "rgba(220,220,220,0.5)",
          strokeColor : "rgba(220,220,220,1)",
          data : [65,59,90]
        },
        {
          fillColor : "rgba(151,187,205,0.5)",
          strokeColor : "rgba(151,187,205,1)",
          data : [28,48,40]
        }
      ]

    }

  var myLine = new Chart(document.getElementById("canvas").getContext("2d")).Bar(barChartData);
}

$(document).ready(function(){
// google maps api

  function initialize() {
    geocoder = new google.maps.Geocoder();
    var mapOptions = {
      zoom: 3,
      center: new google.maps.LatLng(45.3, -73.34)
    };

    map = new google.maps.Map(document.getElementById('map-canvas'),
        mapOptions);
  }

  function loadScript() {
    var script = document.createElement('script');
    script.type = 'text/javascript';
    script.src = 'https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&' +
        'callback=initialize';
    document.body.appendChild(script);
  }

  function tester() {
    console.log("worked");

  }

  initialize();

  // makes a marker at the designated longitude and lattitude, not useful anymore now that there's codeAddress()
  function make_marker(lat, lng){
    var marker = new google.maps.Marker({
      position: new google.maps.LatLng(lat, lng),
      map: map,
    });

  };

  //make_marker(45.3, -73.34);

   //codeAddress('London, Ontario');
});
{'fraction_non_alphanumeric': 0.13595956074603452, 'fraction_numerical': 0.02649468363256057, 'mean_word_length': 2.492391965916007, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '644905', 'n_tokens_mistral': 1810, 'n_tokens_neox': 1703, 'n_words': 424}