<commit_before>(function(module) {

  function Route(markers, map){
    this.id = googleMap.routeList.length;
    this.markers = markers;
  };

  Route.colors = ['navy', 'gray', 'fuchsia', 'lime', 'maroon'];

  selectRouteDisplay = function() {
    googleMap.markers.forEach(function(ele){
      ele.setMap(null);
    });
    $('#route-filter').on('change', function() {
      Route.testAll();
    });
  };

  selectRouteDisplay();

  Route.renderRoutes = function(directions, map, which){
    var routes = googleMap.getRequest(which);
    routes.forEach(function(route) {
      directions.route(route.request,
      function(response, status) {
        if (status === 'OK') {
          // googleMap.rendererArray[route.id].setOptions({
          //   preserveViewport: true,
          //   suppressInfoWindows: true,
          //   polylineOptions: {<commit_msg>create show route select box, start hide route function<commit_after>(function(module) {

  function Route(markers, map){
    this.id = googleMap.routeList.length;
    this.markers = markers;
  };

  Route.colors = ['navy', 'gray', 'fuchsia', 'lime', 'maroon'];

  function grabMarkers(){
    googleMap.routeList.map(function(i){
      console.log(i.markers);
      console.log(googleMap.routeList);
      return i.markers;
    });
  };
  function selectRouteDisplay() {
    //     function setMapOnAll(map) {
    //       for (var i = 0; i < grabMarkers().length; i++) {
    //         grabMarkers()[i].setMap(map);
    //       }
    //     }
    // console.log(googleMap.routeList);
    // setMapOnAll(null);
    console.log('fin');
    $('#route-filter').on('change', function() {
      Route.testAll();
    });
  };

  selectRouteDisplay();

  Route.renderRoutes = function(directions, map, which){
    var routes = googleMap.getRequest(which);
    routes.forEach(function(route) {
      directions.route(route.request,
      function(response, status) {
        if (status === 'OK') {
          // googleMap.rendererArray[route.id].setOptions({
          //   preserveViewport: true,
          //   suppressInfoWindows: true,
          //   polylineOptions: {
{'fraction_non_alphanumeric': 0.16071428571428573, 'fraction_numerical': 0.00046992481203007516, 'mean_word_length': 2.6897746967071057, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, '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': '5966197', 'n_tokens_mistral': 663, 'n_tokens_neox': 658, 'n_words': 110}