<commit_before>/*jslint indent: 2 */
/*global $: false, document: false, togglbutton: false*/
'use strict';

togglbutton.render('.card_box:not(.toggl), .card-content:not(.toggl)', {observe: true}, function (elem) {
  var link, description, project;

  description = $('.card_name', elem);
  if(!description) {
    description = $('.card-name', elem);
  }
  project = $('.project_name_card');

  link = togglbutton.createTimerLink({
    className: 'breeze',
    description: description && description.textContent.trim(),
    projectName: project && project.textContent.trim()
  });

  link.setAttribute('data-action', 'start-time-entry');
  $('.timer, .time-tracker', elem).appendChild(link);
});<commit_msg>Fixed overlay description for breeze<commit_after>/*jslint indent: 2 */
/*global $: false, document: false, togglbutton: false*/
'use strict';

togglbutton.render('.card_box:not(.toggl), .card-content:not(.toggl)', {observe: true}, function (elem) {
  var link, description, project;

  project = $('.project_name_card');

  link = togglbutton.createTimerLink({
    className: 'breeze',
    description: function () {
      description = $('.card_name', elem);
      if(!description) {
        description = $('.card-name', elem);
      }
      return description && description.textContent.trim();
    },
    projectName: project && project.textContent.trim()
  });

  link.setAttribute('data-action', 'start-time-entry');
  $('.timer, .time-tracker', elem).appendChild(link);
});
{'fraction_non_alphanumeric': 0.18468770987239758, 'fraction_numerical': 0.001343183344526528, 'mean_word_length': 4.321428571428571, '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': '6118062', 'n_tokens_mistral': 471, 'n_tokens_neox': 457, 'n_words': 96}