<commit_before>$(function(){
(function() {

  function tradeClass($elem, class1, class2) {
    if ($elem.hasClass(class1)) {
      $elem.removeClass(class1);
      $elem.addClass(class2);
    } else {
      $elem.removeClass(class2);
      $elem.addClass(class1);
    }
  }

  $("#video").hide()
  $("#video-header").click(function() {

    $("#video").toggle();

    tradeClass($("#video-arrow"), "glyphicon-chevron-right", "glyphicon-chevron-down");
  });
})();
});<commit_msg>slide toggle in the video<commit_after>$(function(){

  function tradeClass($elem, class1, class2) {
    if ($elem.hasClass(class1)) {
      $elem.removeClass(class1);
      $elem.addClass(class2);
    } else {
      $elem.removeClass(class2);
      $elem.addClass(class1);
    }
  }

  $("#video").hide()
  $("#video-header").click(function() {

    $("#video").slideToggle();

    tradeClass($("#video-arrow"), "glyphicon-chevron-right", "glyphicon-chevron-down");
  });
});
{'fraction_non_alphanumeric': 0.22303664921465968, 'fraction_numerical': 0.014659685863874346, 'mean_word_length': 3.6862745098039214, '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': '1334772', 'n_tokens_mistral': 328, 'n_tokens_neox': 321, 'n_words': 41}