<commit_before>DotLedger.module 'Views.Reports.IncomeAndExpenses', ->
  class @Filter extends Backbone.Marionette.ItemView
    template: 'reports/income_and_expenses/filter'

    className: 'nav nav-pills nav-justified'

    tagName: 'ul'

    events:
      'click .period a': 'clickPeriod'

    onRender: ->
      @$el.find(".period.period-#{@model.get('period')}-days").addClass('active')

    clickPeriod: (event)->
      @model.set('period', $(event.target).data('period'))
      false<commit_msg>Use small pills for the income and expenses report.<commit_after>DotLedger.module 'Views.Reports.IncomeAndExpenses', ->
  class @Filter extends Backbone.Marionette.ItemView
    template: 'reports/income_and_expenses/filter'

    className: 'nav nav-small nav-pills'

    tagName: 'ul'

    events:
      'click .period a': 'clickPeriod'

    onRender: ->
      @$el.find(".period.period-#{@model.get('period')}-days").addClass('active')

    clickPeriod: (event)->
      @model.set('period', $(event.target).data('period'))
      false
{'fraction_non_alphanumeric': 0.1611969111969112, 'fraction_numerical': 0.0, 'mean_word_length': 3.713636363636364, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '1467922', 'n_tokens_mistral': 340, 'n_tokens_neox': 329, 'n_words': 59}