<commit_before>/*jslint indent: 2 */
/*global $: false, togglbutton: false, createTag:false*/

'use strict';

togglbutton.render('.task-details:not(.toggl)', {observe: true}, function (elem) {
  var link, wrap = createTag('div'),
    container = $('#leftSide', elem),
    titleElem = $('#quickTitle', elem),
    projectElem = $('.folderSelector', elem);

  link = togglbutton.createTimerLink({
    className: 'anydo',
    description: titleElem.textContent,
    projectName: projectElem.textContent
  });

  wrap.appendChild(link);
  container.appendChild(wrap);
});<commit_msg>Fixed Any.do button, closes #115<commit_after>/*jslint indent: 2 */
/*global $: false, togglbutton: false, createTag:false*/

'use strict';

togglbutton.render('.task-details:not(.toggl)', {observe: true}, function (elem) {
  var link, wrap = createTag('div'),
    container = $('.top-level-details', elem),
    titleElem = $('#quickTitle', elem),
    projectElem = $('.folderSelector', elem);

  link = togglbutton.createTimerLink({
    className: 'anydo',
    description: titleElem.textContent,
    projectName: projectElem.textContent
  });

  wrap.appendChild(link);
  container.appendChild(wrap);
});
{'fraction_non_alphanumeric': 0.17314189189189189, 'fraction_numerical': 0.004222972972972973, 'mean_word_length': 4.72463768115942, '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': '6512589', 'n_tokens_mistral': 376, 'n_tokens_neox': 365, 'n_words': 80}