<commit_before>import runtime from 'offline-plugin/runtime'
import { Notification } from 'element-ui'

runtime.install({
  onUpdateReady() {
    runtime.applyUpdate()
  },
  onUpdated() {
    console.info('Reload this page to apply updates!')
    Notification({
      title: 'CodePan has been updated!',
      message: 'Tap this or refresh page to apply updates.',
      duration: 10000,
      type: 'success',
      customClass: 'update-notifier',
      onClick() {
        window.location.reload()
      }
    })
  }
})
<commit_msg>fix lint<commit_after>import runtime from 'offline-plugin/runtime'
import { Notification } from 'element-ui'

runtime.install({
  onUpdateReady() {
    runtime.applyUpdate()
  },
  onUpdated() {
    console.info('Reload this page to apply updates!')
    // eslint-disable-next-line new-cap
    Notification({
      title: 'CodePan has been updated!',
      message: 'Tap this or refresh page to apply updates.',
      duration: 10000,
      type: 'success',
      customClass: 'update-notifier',
      onClick() {
        window.location.reload()
      }
    })
  }
})

{'fraction_non_alphanumeric': 0.128739800543971, 'fraction_numerical': 0.009066183136899365, 'mean_word_length': 2.846689895470383, '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': '5160593', 'n_tokens_mistral': 339, 'n_tokens_neox': 326, 'n_words': 85}