<commit_before>Bountysource.getIssueByURL(document.location.href, function(issue) {
    var commentWrapper = document.querySelector(".comment-body");
    var notice = document.createElement("a");
    notice.innerText = "Worth $" + parseFloat(issue.bounty_total).toFixed(2) +
                       " on Bountysource!";
    notice.href = "https://www.bountysource.com/" + issue.frontend_path;<commit_msg>include backer data on issue page<commit_after>function pluralize(count, noun) {
  var phrase = count + " " + noun;
  if (count !== 1) phrase += "s";
  return phrase;
}

Bountysource.getIssueByURL(document.location.href, function(issue) {
    var commentWrapper = document.querySelector(".comment-body");
    var notice = document.createElement("a");
    notice.innerText = "Worth $" + parseFloat(issue.bounty_total).toFixed(2) +
                       " from " + pluralize(issue.bounties.length, "backer") +
                       " on Bountysource!";
    notice.href = "https://www.bountysource.com/" + issue.frontend_path;
{'fraction_non_alphanumeric': 0.14299610894941633, 'fraction_numerical': 0.0029182879377431907, 'mean_word_length': 3.473913043478261, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '1473580', 'n_tokens_mistral': 320, 'n_tokens_neox': 304, 'n_words': 53}