<commit_before>goog.provide 'acorn.shells.DocShell'
goog.require 'acorn.shells.TextShell'


TextShell  = acorn.shells.TextShell


DocShell = acorn.shells.DocShell =

  id: 'acorn.DocShell'
  title: 'Doc'
  description: 'a rendered document'
  icon: 'icon-align-justify'



class DocShell.Model extends TextShell.Model


  language: @property('language', default: 'markdown')



# Renders the text
class DocShell.MediaView extends TextShell.MediaView


  className: @classNameExtend 'doc-shell'


  initialize: =>
    super

    render = (doc) -> doc<commit_msg>docShell: change description to be clearer<commit_after>goog.provide 'acorn.shells.DocShell'
goog.require 'acorn.shells.TextShell'


TextShell  = acorn.shells.TextShell


DocShell = acorn.shells.DocShell =

  id: 'acorn.DocShell'
  title: 'Doc'
  description: 'a formatted document'
  icon: 'icon-align-justify'



class DocShell.Model extends TextShell.Model


  language: @property('language', default: 'markdown')



# Renders the text
class DocShell.MediaView extends TextShell.MediaView


  className: @classNameExtend 'doc-shell'


  initialize: =>
    super

    render = (doc) -> doc
{'fraction_non_alphanumeric': 0.11024305555555555, 'fraction_numerical': 0.0, 'mean_word_length': 4.240909090909091, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '3084493', 'n_tokens_mistral': 402, 'n_tokens_neox': 363, 'n_words': 86}