<commit_before>module.exports = function() {
  $(function(){
    var ready = new Date() > new Date("2015-04-14T03:30:00-07:00")
    var disabled = localStorage.getItem('disable-private-modules-banner')

    if (!ready || disabled || location.pathname === "/private-modules") {
      return
    }

    $('#notification-banner').show()

    $('#notification-banner a').click(function (e) {
      localStorage.setItem('disable-private-modules-banner', true)

      if ($(this).hasClass("banner-close")) {
        $('#notification-banner').slideUp()
        e.preventDefault()
      }
    })

  })
}<commit_msg>don’t show banner on the billing page<commit_after>module.exports = function() {
  $(function(){
    var ready = new Date() > new Date("2015-04-14T03:30:00-07:00")
    var disabled = localStorage.getItem('disable-private-modules-banner')

    if (
      !ready
      || disabled
      || location.pathname === "/private-modules"
      || location.pathname === "/settings/billing"
    ) {
      return
    }

    $('#notification-banner').show()

    $('#notification-banner a').click(function (e) {
      localStorage.setItem('disable-private-modules-banner', true)

      if ($(this).hasClass("banner-close")) {
        $('#notification-banner').slideUp()
        e.preventDefault()
      }
    })

  })
}
{'fraction_non_alphanumeric': 0.18354912414318356, 'fraction_numerical': 0.027418126428027417, 'mean_word_length': 2.9578313253012047, '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': '6780389', 'n_tokens_mistral': 427, 'n_tokens_neox': 401, 'n_words': 64}