<commit_before>goog.provide 'acorn.shells.PDFLinkShell'

goog.require 'acorn.shells.LinkShell'

LinkShell = acorn.shells.LinkShell

PDFLinkShell = acorn.shells.PDFLinkShell =

  id: 'acorn.PDFLinkShell'
  title: 'PDFLinkShell'
  description: 'Shell to contain web based PDF documents.'
  icon: 'icon-pdf'
  validLinkPatterns: [ acorn.util.urlRegEx '.*\.pdf' ]


# -- module classes --

class PDFLinkShell.Model extends LinkShell.Model

  thumbnail: =>
    acorn.util.imgUrl('thumbnails/pdf.png')


class PDFLinkShell.MediaView extends LinkShell.MediaView


class PDFLinkShell.RemixView extends LinkShell.RemixView


acorn.RegisterShellModule PDFLinkShell<commit_msg>PDFLinkShell: fixed typo in call to registerShell<commit_after>goog.provide 'acorn.shells.PDFLinkShell'

goog.require 'acorn.shells.LinkShell'

LinkShell = acorn.shells.LinkShell

PDFLinkShell = acorn.shells.PDFLinkShell =

  id: 'acorn.PDFLinkShell'
  title: 'PDFLinkShell'
  description: 'Shell to contain web based PDF documents.'
  icon: 'icon-pdf'
  validLinkPatterns: [ acorn.util.urlRegEx '.*\.pdf' ]


# -- module classes --

class PDFLinkShell.Model extends LinkShell.Model

  thumbnail: =>
    acorn.util.imgUrl('thumbnails/pdf.png')


class PDFLinkShell.MediaView extends LinkShell.MediaView


class PDFLinkShell.RemixView extends LinkShell.RemixView


acorn.registerShellModule PDFLinkShell
{'fraction_non_alphanumeric': 0.10160818713450293, 'fraction_numerical': 0.0, 'mean_word_length': 4.825531914893617, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4611024', 'n_tokens_mistral': 487, 'n_tokens_neox': 466, 'n_words': 91}