<commit_before>###  define
backbone.marionette : Marionette
underscore: _
utils: Utils
###

class ReportItemView extends Backbone.Marionette.ItemView

  tagName : "tr"

  template : _.template("""
    <td title="<%= name %>" class="truncate">
      <% if(githubUrl){ %>
        <a href="<%= githubUrl %>"><%= name %></a>
      <% } else { %>
        <%= name %>
      <% }%>
    </td>
    <td><%= Utils.minutesToHours(sum) %></td>
    <% _.each(dailyTimeEntries, function(day){ %>
      <td><%= Utils.minutesToHours(day) %></td>
    <% }) %>
  """)

  templateHelpers :
    Utils : Utils

  className : ->

    if @model.get("isHeader") then "project-row" else ""

<commit_msg>open links in new window<commit_after>###  define
backbone.marionette : Marionette
underscore: _
utils: Utils
###

class ReportItemView extends Backbone.Marionette.ItemView

  tagName : "tr"

  template : _.template("""
    <td title="<%= name %>" class="truncate">
      <% if(githubUrl){ %>
        <a href="<%= githubUrl %>" target="_blank"><%= name %></a>
      <% } else { %>
        <%= name %>
      <% }%>
    </td>
    <td><%= Utils.minutesToHours(sum) %></td>
    <% _.each(dailyTimeEntries, function(day){ %>
      <td><%= Utils.minutesToHours(day) %></td>
    <% }) %>
  """)

  templateHelpers :
    Utils : Utils

  className : ->

    if @model.get("isHeader") then "project-row" else ""


{'fraction_non_alphanumeric': 0.20926864590876176, 'fraction_numerical': 0.0, 'mean_word_length': 2.9261363636363638, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 43, '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': '3866119', 'n_tokens_mistral': 534, 'n_tokens_neox': 475, 'n_words': 95}