<commit_before>class ActivityLikeSummaryView extends JView

  constructor: (options = {}, data) ->

    options.cssClass = KD.utils.curry "like-summary", options.cssClass

    super options, data

    @placeholder0 = new KDCustomHTMLView tagName : 'span'
    @placeholder1 = new KDCustomHTMLView tagName : 'span'
    @placeholder2 = new KDCustomHTMLView tagName : 'span'

    @showMoreLink = new KDCustomHTMLView
      tagName     : "strong"
      partial     : data.interactions.like.actorsCount
      click       : @bound "showLikers"


  showLikers: ->

    {id} = @getData()

    KD.singleton("socialapi").message.listLikers {id}, (err, accounts) ->

      return KD.showError err  if err
      return  if accounts.length is 0
<commit_msg>activity: fix other likers count in `ActivityLikeSummaryView` class<commit_after>class ActivityLikeSummaryView extends JView

  constructor: (options = {}, data) ->

    options.cssClass = KD.utils.curry "like-summary", options.cssClass

    super options, data

    @placeholder0 = new KDCustomHTMLView tagName : 'span'
    @placeholder1 = new KDCustomHTMLView tagName : 'span'
    @placeholder2 = new KDCustomHTMLView tagName : 'span'

    @showMoreLink = new KDCustomHTMLView
      tagName     : "strong"
      partial     : data.interactions.like.actorsCount - 3
      click       : @bound "showLikers"


  showLikers: ->

    {id} = @getData()

    KD.singleton("socialapi").message.listLikers {id}, (err, accounts) ->

      return KD.showError err  if err
      return  if accounts.length is 0

{'fraction_non_alphanumeric': 0.10103626943005181, 'fraction_numerical': 0.005829015544041451, 'mean_word_length': 3.1420911528150133, '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': '929785', 'n_tokens_mistral': 492, 'n_tokens_neox': 456, 'n_words': 120}