<commit_before>FacilityLocator = (function() {
  function FacilityLocator() {}

  var map,
      allFacilities = [],
      filteredFacilities,
      markers = [],
      currentInfoBox,
      searchService,
      searchBox,
      searchQuery,
      searchCenter,
      directionsStart,
      geolocated = false; // Used when determining starting location for driving directions
      zoomLevelToShowMarkers = 5;
      infowindows = {};

  FacilityLocator.prototype.init = function() {
    map = new google.maps.Map(document.getElementById('map'), {
      center: {lat: 39.833, lng: -98.5833},
      zoom: 4,
      mapTypeId: google.maps.MapTypeId.ROADMAP,
      mapTypeControl: false,
      maxZoom: 12,
    });

    // Load facilities
    $.ajax({
      dataType: "json",
      url: "https://www.vets.gov/facility-locator/facilities.json",
      success: function(data) {
        allFacilities = data;
        placeMarkers(data);

        // If the map has not yet loaded (which we test with map.getBounds()),
        // wait until it is to show the facilities list. Otherwise, show it
        // immediately
        if (map.getBounds() === undefined) {
          map.addListener('idle', listFacilities);
        } else {
          listFacilities();<commit_msg>Makes the facility locator not pan on scroll (#2486)<commit_after>FacilityLocator = (function() {
  function FacilityLocator() {}

  var map,
      allFacilities = [],
      filteredFacilities,
      markers = [],
      currentInfoBox,
      searchService,
      searchBox,
      searchQuery,
      searchCenter,
      directionsStart,
      geolocated = false; // Used when determining starting location for driving directions
      zoomLevelToShowMarkers = 5;
      infowindows = {};

  FacilityLocator.prototype.init = function() {
    map = new google.maps.Map(document.getElementById('map'), {
      center: {lat: 39.833, lng: -98.5833},
      zoom: 4,
      mapTypeId: google.maps.MapTypeId.ROADMAP,
      mapTypeControl: false,
      maxZoom: 12,
      scrollwheel:  false
    });

    // Load facilities
    $.ajax({
      dataType: "json",
      url: "https://www.vets.gov/facility-locator/facilities.json",
      success: function(data) {
        allFacilities = data;
        placeMarkers(data);

        // If the map has not yet loaded (which we test with map.getBounds()),
        // wait until it is to show the facilities list. Otherwise, show it
        // immediately
        if (map.getBounds() === undefined) {
          map.addListener('idle', listFacilities);
        } else {
          listFacilities();
{'fraction_non_alphanumeric': 0.11441824507151141, 'fraction_numerical': 0.013142636258214147, 'mean_word_length': 2.3963254593175853, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '478703', 'n_tokens_mistral': 770, 'n_tokens_neox': 732, 'n_words': 189}