<commit_before>// TODO this really needs a refactor. maybe bootstrap.js

var clip = null;

$(document).ready(function() {
    ZeroClipboard.setMoviePath('/swf/ZeroClipboard.swf');
    clip = new ZeroClipboard.Client();

    clip.on('mousedown', function(client) {
        client.setText($('table').table2CSV({delivery: null}));
        $('#myModal span').css('display', 'inline').delay(900).fadeOut('slow');
    });

});

$(document).ready(function() {
    elem = $(".followyouaroundbar");

    stick = function() {
      var windowTop = $(window).scrollTop();
      var footerTop = 50000; // this.jFooter.offset().top;
      var topOffset = this.offset().top;
      var elHeight = this.height();

      if (windowTop > topOffset && windowTop < footerTop) {
        this
          .css("position", "fixed")
          .css("width", "15%")
          .css("top", 70)
          .css("box-shadow", "rgba(0, 0, 0, 0.1) 0px 4px 5px 0px")
      } else if (windowTop > footerTop) {
        this
        .css("position", "absolute")
        .css("top", 70)
        .css("box-shadow", "rgba(0, 0, 0, 0) 0px 4px 5px 0px")
      }
    }

    $(window).scroll(_.throttle(_.bind(stick, elem), 100));
});

var debugRulings;
var debugColumns;
var debugRows;
var debugCharacters;
var lastQuery;
var lastSelection;

var COLORS = ['#f00', '#0f0', '#00f', '#ffff00', '#FF00FF'];

var noModalAfterSelect = false;

$(function () {

    $('button.close#directions').click(function(){
      $('div.imgareaselect-box').each(function(){ $(this).offset({top: $(this).offset()["top"] - $(directionsRow).height() }); });
    })

    noModalAfterSelect = $('#multiselect-checkbox').is(':checked');
    $('#multiselect-checkbox').click(function(){
      noModalAfterSelect = $('#multiselect-checkbox').is(':checked');
    })

    $('a#chardin-help').click(function(){<commit_msg>removed shadow in followyouaroundbar<commit_after>// TODO this really needs a refactor. maybe bootstrap.js

var clip = null;

$(document).ready(function() {
    ZeroClipboard.setMoviePath('/swf/ZeroClipboard.swf');
    clip = new ZeroClipboard.Client();

    clip.on('mousedown', function(client) {
        client.setText($('table').table2CSV({delivery: null}));
        $('#myModal span').css('display', 'inline').delay(900).fadeOut('slow');
    });

});

$(document).ready(function() {
    elem = $(".followyouaroundbar");

    stick = function() {
      var windowTop = $(window).scrollTop();
      var footerTop = 50000; // this.jFooter.offset().top;
      var topOffset = this.offset().top;
      var elHeight = this.height();

      if (windowTop > topOffset && windowTop < footerTop) {
        this
          .css("position", "fixed")
          .css("width", "15%")
          .css("top", 70);
      } else if (windowTop > footerTop) {
        this
        .css("position", "absolute")
        .css("top", 70);
      }
    }

    $(window).scroll(_.throttle(_.bind(stick, elem), 100));
});

var debugRulings;
var debugColumns;
var debugRows;
var debugCharacters;
var lastQuery;
var lastSelection;

var COLORS = ['#f00', '#0f0', '#00f', '#ffff00', '#FF00FF'];

var noModalAfterSelect = false;

$(function () {

    $('button.close#directions').click(function(){
      $('div.imgareaselect-box').each(function(){ $(this).offset({top: $(this).offset()["top"] - $(directionsRow).height() }); });
    })

    noModalAfterSelect = $('#multiselect-checkbox').is(':checked');
    $('#multiselect-checkbox').click(function(){
      noModalAfterSelect = $('#multiselect-checkbox').is(':checked');
    })

    $('a#chardin-help').click(function(){
{'fraction_non_alphanumeric': 0.2031206464196155, 'fraction_numerical': 0.020339927556422402, 'mean_word_length': 3.3515151515151516, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '6680279', 'n_tokens_mistral': 1225, 'n_tokens_neox': 1147, 'n_words': 220}