<commit_before>var Emotionall = {
  init: function() {
    this.setupTrendList();
    this.setupScrollToMap();
    this.setupLogoLink();
    this.setupScrollToAbout();
    this.launchMapView();
  },
  setupTrendList: function() {
    var self = this;
    $('#outer-map-container').on('click', 'li', function(event) {
      event.preventDefault();
      var trend = $(this).text();
      var trendId = $(this).attr('id').substring(6);
      Tweets.fetchData(trend, trendId);
    });
  },
  setupScrollToMap: function() {
    $('.scroll-icon').on('click', function(event) {
      event.preventDefault();
      var $anchor = $('#outer-map-container h1');
      $('html, body').animate({ scrollTop: $anchor.offset().top}, 500);
    })
  },
  setupLogoLink: function() {
    $('#logo').on('click', function() {
      var $anchor = $('#outer-map-container');
      $('html, body').animate({ scrollTop: $anchor.offset().top}, 500);
    })
  },
  setupScrollToAbout: function() {
    $('#btn-for-about').on('click', function() {
      var $anchor = $('footer');
      $('html, body').animate({ scrollTop: $anchor.offset().top}, 700);
    })
  },
  launchMapView: function() {
    $trend = $('h2');
    var trend = $trend.text();
    var trendId = $trend.attr('id').substring(6);
    Tweets.fetchData(trend, trendId);
  }
};

var createMapView = {<commit_msg>Change about anchor tag location<commit_after>var Emotionall = {
  init: function() {
    this.setupTrendList();
    this.setupScrollToMap();
    this.setupLogoLink();
    this.setupScrollToAbout();
    this.launchMapView();
  },
  setupTrendList: function() {
    var self = this;
    $('#outer-map-container').on('click', 'li', function(event) {
      event.preventDefault();
      var trend = $(this).text();
      var trendId = $(this).attr('id').substring(6);
      Tweets.fetchData(trend, trendId);
    });
  },
  setupScrollToMap: function() {
    $('.scroll-icon').on('click', function(event) {
      event.preventDefault();
      var $anchor = $('#outer-map-container h1');
      $('html, body').animate({ scrollTop: $anchor.offset().top}, 500);
    })
  },
  setupLogoLink: function() {
    $('#logo').on('click', function() {
      var $anchor = $('#outer-map-container');
      $('html, body').animate({ scrollTop: $anchor.offset().top}, 500);
    })
  },
  setupScrollToAbout: function() {
    $('#btn-for-about').on('click', function() {
      var $anchor = $('#about-header h1');
      $('html, body').animate({ scrollTop: $anchor.offset().top}, 500);
    })
  },
  launchMapView: function() {
    $trend = $('h2');
    var trend = $trend.text();
    var trendId = $trend.attr('id').substring(6);
    Tweets.fetchData(trend, trendId);
  }
};

var createMapView = {
{'fraction_non_alphanumeric': 0.21326493220960058, 'fraction_numerical': 0.009893733968486624, 'mean_word_length': 3.3264659270998416, 'pattern_counts': {'":': 0, '<': 3, '<?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': '7373755', 'n_tokens_mistral': 914, 'n_tokens_neox': 894, 'n_words': 161}