<commit_before>$(document).ready(function() {

  var message        = $('#message').val();
  var comment_button = $('#add_comment');
  var title          = $('#title');


  $('.login-logs').hide();

  comment_button.attr("disabled", "disabled");

  $('.comment_view').hide();


  $('.comment_view textarea').keypress(function() {

    if (message.length >= 1) {

      $('#add_comment').removeAttr("disabled");

    }

  });


});


function showComments(a) {



  if (a === 1) {

    $('.comment_view').toggle();

    $('body').scrollTo('.comment_view', {
      duration: 300
    });

  } else {


    $('.comment_view').hide();


  }


}

function reveal(x) {

  $('.account_info').hide();

  switch (x) {
    case 0:
      $('.changePassword').toggle("fast");
      $('.resetLoginCount, .changeEmail').hide();
      break;

    case 1:

      $('.changeEmail').toggle("fast");
      $('.changePassword, .resetLoginCount').hide();
      break;

    case 2:

      $('.resetLoginCount').toggle("fast");
      $('.changePassword, .changeEmail').hide();
      break;
    default:

  }
}
function showLogin() {

$('.main-logs').hide();
$('.login-logs').show();
}

function showAction() {
  $('.main-logs').show();
  $('.login-logs').hide();

}

function add_bug() {

  $('.addform').toggle();
  $('#bug_table').toggle();

}<commit_msg>form additions for newer modules as well<commit_after>$(document).ready(function() {

  var message = $('#message').val();
  var comment_button = $('#add_comment');
  var title = $('#title');


  $('.login-logs, .addform, .deleteform').hide();

  comment_button.attr("disabled", "disabled");

  $('.comment_view').hide();


  $('.comment_view textarea').keypress(function() {

    if (message.length >= 1) {

      $('#add_comment').removeAttr("disabled");

    }

  });


});


function showComments(a) {



  if (a === 1) {

    $('.comment_view').toggle();

    $('body').scrollTo('.comment_view', {
      duration: 300
    });

  } else {


    $('.comment_view').hide();


  }


}

function reveal(x) {

  $('.account_info').hide();

  switch (x) {
    case 0:
      $('.login-logs').show();
      $('.main-logs').hide();
      break;

    case 1:
      $('.main-logs').show();
      $('.login-logs').hide();
      break;

    case 2:
      $('.addform').show();
      $('.deleteform, #bug_table, .searchform').hide();
      break;

    case 3:
      $('.deleteform, #bug_table').show();
      $(' .addform, .searchform').hide();
      break;

      case 5:

      $('.addform').hide();
      $('#bug_table').show();
      break;

      case 6:

      $('.deleteform').hide();

      break;


    default:

  }
}
{'fraction_non_alphanumeric': 0.24, 'fraction_numerical': 0.007169811320754717, 'mean_word_length': 2.611716621253406, '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': '6910870', 'n_tokens_mistral': 936, 'n_tokens_neox': 847, 'n_words': 145}