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

togglbutton.render('#section_title .panel_section_jump_links:not(.toggl)', {observe: true}, function (elem) {
  var link, description = $('#treeitem_panel_name').innerText,
    projectFunc = function () {
      var text = document.querySelector("#treeitem_panel_parent").innerText.split(">");
      return text[text.length - 1].trim();
    };

  link = togglbutton.createTimerLink({
    className: 'liquidplanner',
    description: description,
    projectName: projectFunc
  });

  elem.insertBefore(link, elem.firstChild);
});<commit_msg>Fixed Liquid Planner after UI update, closes #536<commit_after>/*jslint indent: 2, unparam: true*/
/*global $: false, document: false, togglbutton: false*/
'use strict';

togglbutton.render('#treeitem_panel .details.page:not(.toggl)', {observe: true}, function (elem) {
  var link, description = $('#treeitem_panel_name').innerText,
    projectFunc = function () {
      var text = $("#treeitem_panel_parent").innerText.split(">");
      return text[text.length - 1].trim();
    };

  link = togglbutton.createTimerLink({
    className: 'liquidplanner',
    description: description,
    projectName: projectFunc
  });

  elem.insertBefore(link, elem.firstChild);
});
{'fraction_non_alphanumeric': 0.15714285714285714, 'fraction_numerical': 0.005263157894736842, 'mean_word_length': 4.737068965517241, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '7541114', 'n_tokens_mistral': 423, 'n_tokens_neox': 407, 'n_words': 89}