<commit_before>//= require modernizr.js
//= require jquery
//= require jquery-ui
//= require jquery_ujs
//= require jquery.Jcrop.min.js
//= require jquery.color.js
//= require swfobject.js
//= require jquery.uploadify.min
//= require jquery-ui.min.js
//= require jquery.mjs.nestedSortable.js

//
$(document).ready(function(){

  $('.pagination').hide();
  $("ol.sortable ol").hide();


  $('.zebra th a').live('click', function () {
    $.getScript(this.href);
    return false;
  });

  $('.visibility a, .toggleshow').live('click', function(e){
    e.preventDefault();
    $(this).find('i').toggleClass('icon-eye-open').toggleClass('icon-eye-close not-work');
    
  });

  $("ol.sortable").on('click', 'a.expand', function(e){
    e.preventDefault();
    var $inList = $(this).parent('div').siblings("ol");
    $inList.toggle();
    $(this).toggleClass('minus');
    $(this).toggleClass('plus');
  });
  

  $('#sort_button').on('click', function (e) {
    $.ajax( {
      type: 'post',
      data: $('#sort-list tbody').sortable('serialize') + '&authenticity_token=#{u(form_authenticity_token)}',
      dataType: 'script',<commit_msg>remove live<commit_after>//= require modernizr.js
//= require jquery
//= require jquery-ui
//= require jquery_ujs
//= require jquery.Jcrop.min.js
//= require jquery.color.js
//= require swfobject.js
//= require jquery.uploadify.min
//= require jquery-ui.min.js
//= require jquery.mjs.nestedSortable.js

//
$(document).ready(function(){

  $('.pagination').hide();
  $("ol.sortable ol").hide();


  $('body').on('click', '.zebra th a', function () {
    $.getScript(this.href);
    return false;
  });

  $('body').on('click','.visibility a, .toggleshow', function(e){
    e.preventDefault();
    $(this).find('i').toggleClass('icon-eye-open').toggleClass('icon-eye-close not-work');
    
  });

  $("ol.sortable").on('click', 'a.expand', function(e){
    e.preventDefault();
    var $inList = $(this).parent('div').siblings("ol");
    $inList.toggle();
    $(this).toggleClass('minus');
    $(this).toggleClass('plus');
  });
  

  $('#sort_button').on('click', function (e) {
    $.ajax( {
      type: 'post',
      data: $('#sort-list tbody').sortable('serialize') + '&authenticity_token=#{u(form_authenticity_token)}',
      dataType: 'script',
{'fraction_non_alphanumeric': 0.2336980306345733, 'fraction_numerical': 0.0, 'mean_word_length': 3.6940451745379876, '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': '2469860', 'n_tokens_mistral': 814, 'n_tokens_neox': 779, 'n_words': 123}