<commit_before>$().ready(function(){
  var timerList = $('#timer-list');

  var timers = [];

  var Thymer = {
    init:function() {
      if ('localStorage' in window) {
        var timersData = window.localStorage.getItem('timers');
        if (timersData) {
          var timersData = JSON.parse(timersData);
          for (var i in timersData) {
            var t = timersData[i];
            timers.push(new Timer(t.name, t.seconds, t.started, t.finished));
          }
          this._start();
        }
      }

      if (window.webkitNotifications && window.webkitNotifications.checkPermission() != 0) {
        window.webkitNotifications.requestPermission();
      }
    },
    addTimer:function(timer) {
      timers.push(timer);
      this.saveTimers();
      this._start();
    },
    removeTimer:function(timer) {
      for (var i in timers) {
        if (timers[i] == timer) {
          timers.splice(i,1);
          this.saveTimers();
          break;
        }
      }
    },
    saveTimers:function() {
      if ('localStorage' in window) {<commit_msg>remove test web notification code<commit_after>$().ready(function(){
  var timerList = $('#timer-list');

  var timers = [];

  var Thymer = {
    init:function() {
      if ('localStorage' in window) {
        var timersData = window.localStorage.getItem('timers');
        if (timersData) {
          var timersData = JSON.parse(timersData);
          for (var i in timersData) {
            var t = timersData[i];
            timers.push(new Timer(t.name, t.seconds, t.started, t.finished));
          }
          this._start();
        }
      }
    },
    addTimer:function(timer) {
      timers.push(timer);
      this.saveTimers();
      this._start();
    },
    removeTimer:function(timer) {
      for (var i in timers) {
        if (timers[i] == timer) {
          timers.splice(i,1);
          this.saveTimers();
          break;
        }
      }
    },
    saveTimers:function() {
      if ('localStorage' in window) {
{'fraction_non_alphanumeric': 0.144, 'fraction_numerical': 0.0015, 'mean_word_length': 1.9776785714285714, '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': '3243480', 'n_tokens_mistral': 633, 'n_tokens_neox': 617, 'n_words': 121}