<commit_before>import Bowser from 'bowser'
window.bowser = Bowser

export hardReload = (path) ->
  if path
    window.location.href = path
  else
    window.location.reload()

export print = -> window.print()
export is2x = -> window.devicePixelRatio >= 2

browser = Bowser.getParser(window.navigator.userAgent)
browserName = browser.parsedResult.browser.name
browserVersion = parseInt(browser.parsedResult.browser.version)

export isIncompatibleBrowser =
  (browserName == 'Internet Explorer') ||
  (browserName == 'Microsoft Edge' && browserVersion < 17) ||
  (browserName == 'Safari' && browserVersion < 12)<commit_msg>require firefox > 50 and see what happens<commit_after>import Bowser from 'bowser'
window.bowser = Bowser

export hardReload = (path) ->
  if path
    window.location.href = path
  else
    window.location.reload()

export print = -> window.print()
export is2x = -> window.devicePixelRatio >= 2

browser = Bowser.getParser(window.navigator.userAgent)
browserName = browser.parsedResult.browser.name
browserVersion = parseInt(browser.parsedResult.browser.version)

export isIncompatibleBrowser =
  (browserName == 'Internet Explorer') ||
  (browserName == 'Microsoft Edge' && browserVersion < 17) ||
  (browserName == 'Safari' && browserVersion < 12) ||
  (browserName == 'Firefox' && browserVersion < 50)
{'fraction_non_alphanumeric': 0.12377358490566037, 'fraction_numerical': 0.012075471698113207, 'mean_word_length': 4.867256637168142, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 12, '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': '4922228', 'n_tokens_mistral': 406, 'n_tokens_neox': 391, 'n_words': 93}