<commit_before>$(document).foundation();

$(document).ready(function() {
  $('#earlybird-offer').foundation('reveal', 'open');

  function scrollToAnchor(name){
    var $body = $('html,body');
    var $anchor = $("a[name='"+ name +"']");
    var offset = $(document).scrollTop() == 0 ? 150 : 75;
    $body.animate({scrollTop: ($anchor.offset().top - offset)},'slow');
  };
  $("#nav a").click(function(e) {
    if (!$(this).hasClass('noscroll')) {
      e.preventDefault();
      var href = $(this).attr('href').replace('#', '');
      scrollToAnchor(href);
    }
  });

  var userBrowser = BrowserDetect();
  console.log(BrowserDetect());<commit_msg>good riddance <commit_after>$(document).foundation();

$(document).ready(function() {
  //$('#earlybird-offer').foundation('reveal', 'open');

  function scrollToAnchor(name){
    var $body = $('html,body');
    var $anchor = $("a[name='"+ name +"']");
    var offset = $(document).scrollTop() == 0 ? 150 : 75;
    $body.animate({scrollTop: ($anchor.offset().top - offset)},'slow');
  };
  $("#nav a").click(function(e) {
    if (!$(this).hasClass('noscroll')) {
      e.preventDefault();
      var href = $(this).attr('href').replace('#', '');
      scrollToAnchor(href);
    }
  });

  var userBrowser = BrowserDetect();
  console.log(BrowserDetect());
{'fraction_non_alphanumeric': 0.24521072796934865, 'fraction_numerical': 0.009195402298850575, 'mean_word_length': 4.12156862745098, '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': '7499684', 'n_tokens_mistral': 449, 'n_tokens_neox': 420, 'n_words': 71}