<commit_before>const nest = require('depnest')
const { h } = require('mutant')

exports.gives = nest('app.html.scroller')

exports.create = function (api) {
  return nest('app.html.scroller', Scroller)

  function Scroller (opts = {}) {
    const { prepend = [], content = null, append = [], classList = [], className = '', title = '' } = opts

    const contentSection = h('section.content', content)

    const container = h('Scroller',
      { classList, className, title, style: { 'overflow-y': 'scroll', 'overflow-x': 'auto' } },
      [
        h('section.top', prepend),<commit_msg>scroller : give content a title to avoid always seeing the page name<commit_after>const nest = require('depnest')
const { h } = require('mutant')

exports.gives = nest('app.html.scroller')

exports.create = function (api) {
  return nest('app.html.scroller', Scroller)

  function Scroller (opts = {}) {
    const { prepend = [], content = null, append = [], classList = [], className = '', title = '' } = opts

    const contentSection = h('section.content', { title: '' }, content)

    const container = h('Scroller',
      { classList, className, title, style: { 'overflow-y': 'scroll', 'overflow-x': 'auto' } },
      [
        h('section.top', prepend),
{'fraction_non_alphanumeric': 0.17708333333333334, 'fraction_numerical': 0.0, 'mean_word_length': 3.7132075471698114, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4291722', 'n_tokens_mistral': 379, 'n_tokens_neox': 372, 'n_words': 97}