<commit_before>(function(){
  var openparks = 0,
    partialparks = 1,
    closedparks = 2;

  var ParkMap = function(){
        this.red = 'FD5961';
    this.yellow = 'CCCC00';
    this.green = '78B653';
    this.infoWindow = null;
    if ($('#map-canvas').length > 0)
    {
      this.init();
    }
  };

  ParkMap.prototype.init = function() {
    this.initMap();
    this.getparks();
  };

  ParkMap.prototype.initMap = function() {
    var mapOptions = {
          center: { lat: 40.7278797, lng: -73.9719596},
          zoom: 11
        };

    this.map = new google.maps.Map(document.getElementById('map-canvas'), mapOptions);
    var transitLayer = new google.maps.TransitLayer();
    transitLayer.setMap(this.map);
    //google.maps.event.addDomListener(window, 'load', initialize);<commit_msg>Adjusting height based on user browsers (helps in mobile<commit_after>(function(){
  var openparks = 0,
    partialparks = 1,
    closedparks = 2;

  var ParkMap = function(){
        this.red = 'FD5961';
    this.yellow = 'CCCC00';
    this.green = '78B653';
    this.infoWindow = null;
    if ($('#map-canvas').length > 0)
    {
      this.init();
    }
  };

  ParkMap.prototype.init = function() {
    this.initMap();
    this.getparks();
  };

  ParkMap.prototype.initMap = function() {
    var mapOptions = {
          center: { lat: 40.7278797, lng: -73.9719596},
          zoom: 11
        };

    var windowHeight = $(window).height();
    $('#map-canvas').css('height', windowHeight);

    this.map = new google.maps.Map(document.getElementById('map-canvas'), mapOptions);
    var transitLayer = new google.maps.TransitLayer();
    transitLayer.setMap(this.map);
    //google.maps.event.addDomListener(window, 'load', initialize);
{'fraction_non_alphanumeric': 0.16006884681583478, 'fraction_numerical': 0.040160642570281124, 'mean_word_length': 2.7344753747323343, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3726427', 'n_tokens_mistral': 625, 'n_tokens_neox': 567, 'n_words': 112}