<commit_before>class TabHandler {
  private tabList: Array<HTMLElement>;
  private tabSlider: HTMLElement;

  constructor(className: string, tabSlider: string) {
    var nodeList = document.getElementsByClassName(className);
    this.tabSlider = document.getElementById(tabSlider);
    this.tabList = new Array(nodeList.length - 1);
    for (var i = nodeList.length - 1; i >= 0; i--) {
      this.tabList[i] = <HTMLElement>nodeList[i];
    }
  }

  addListeners(): void {
    this.tabList.forEach(tab => {
      var listener = TabHandler.listener.bind(this);
      tab.addEventListener("click", listener);
      document.getElementById('header-contact-button').addEventListener("click", listener);
    });
  }

  private static listener(e: Event): boolean {
    e.stopPropagation();<commit_msg>Stupid fix<commit_after>class TabHandler {
  private tabList: Array<HTMLElement>;
  private tabSlider: HTMLElement;

  constructor(className: string, tabSlider: string) {
    var nodeList = document.getElementsByClassName(className);
    this.tabSlider = document.getElementById(tabSlider);
    this.tabList = new Array(nodeList.length - 1);
    for (var i = nodeList.length - 1; i >= 0; i--) {
      this.tabList[i] = <HTMLElement>nodeList[i];
    }
  }

  addListeners(): void {
    this.tabList.forEach(tab => {
      var listener = TabHandler.listener.bind(this);
      tab.addEventListener("click", listener);
    });
    document.getElementById('header-contact-button').addEventListener("click", TabHandler.listener.bind(this));
  }

  private static listener(e: Event): boolean {
    e.stopPropagation();
{'fraction_non_alphanumeric': 0.13582554517133957, 'fraction_numerical': 0.003738317757009346, 'mean_word_length': 3.987577639751553, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, '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': '2206113', 'n_tokens_mistral': 478, 'n_tokens_neox': 485, 'n_words': 94}