<commit_before>kd                 = require 'kd'
LogsListController = require './logslistcontroller'


module.exports = class LogsListView extends kd.View

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

    options.cssClass   = 'logs-commonview'
    options.itemLimit ?= 20

    super options, data

  viewAppended: ->

    @listController = new LogsListController { scope : @getOption 'scope' }
    @listView       = @listController.getView()

    @addSubView @listView


  reload: -> @listController.fetch()<commit_msg>Client: Team Logs: Updated logslistview to fix reload method with loadItems<commit_after>kd                 = require 'kd'
LogsListController = require './logslistcontroller'


module.exports = class LogsListView extends kd.View

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

    options.cssClass   = 'logs-commonview'
    options.itemLimit ?= 20

    super options, data

  viewAppended: ->

    @listController = new LogsListController { scope : @getOption 'scope' }
    @listView       = @listController.getView()

    @addSubView @listView


  reload: -> @listController.loadItems()
{'fraction_non_alphanumeric': 0.10786106032906764, 'fraction_numerical': 0.003656307129798903, 'mean_word_length': 3.227799227799228, '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': '4815694', 'n_tokens_mistral': 337, 'n_tokens_neox': 312, 'n_words': 77}