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

function insertAfter(newNode, referenceNode) {
  referenceNode.parentNode.insertBefore(newNode, referenceNode.nextSibling);
}

togglbutton.render('#gqItemList .gq-item-row:not(.toggl)', {observe: true}, function (elem) {
  var link,
    container = createTag('a', 'taskItem-toggl'),
    titleElem = $('.gq-i-description', elem),
    projectContainer = $('.gq-queue-container.selected .gq-queue-name');

  if (titleElem) {
    link = togglbutton.createTimerLink({
      className: 'gqueues',
      buttonType: 'minimal',
      description: titleElem.innerText,
      projectName: projectContainer.innerText
    });

    container.appendChild(link);<commit_msg>Use div as container in gqueues<commit_after>/*jslint indent: 2 */
/*global $: false, document: false, togglbutton: false, createTag: false*/
'use strict';

function insertAfter(newNode, referenceNode) {
  referenceNode.parentNode.insertBefore(newNode, referenceNode.nextSibling);
}

togglbutton.render('#gqItemList .gq-item-row:not(.toggl)', {observe: true}, function (elem) {
  var link,
    container = createTag('div', 'taskItem-toggl'),
    titleElem = $('.gq-i-description', elem),
    projectContainer = $('.gq-queue-container.selected .gq-queue-name');

  if (titleElem) {
    link = togglbutton.createTimerLink({
      className: 'gqueues',
      buttonType: 'minimal',
      description: titleElem.innerText,
      projectName: projectContainer.innerText
    });

    container.appendChild(link);
{'fraction_non_alphanumeric': 0.14824120603015076, 'fraction_numerical': 0.001256281407035176, 'mean_word_length': 4.455479452054795, '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': '3721097', 'n_tokens_mistral': 508, 'n_tokens_neox': 501, 'n_words': 100}