<commit_before>// Place all the behaviors and hooks related to the matching controller here.
// All this logic will automatically be available in application.js.

$(document).ready(function(){
  if($(".time-line")[0] != undefined){
    left = $(".time-line")[0].offsetLeft
    width = $(".time-line").width();
    result = left+width/2;
    $(".line").css("left",result);
    $(window).resize(function() {
        left = $(".time-line")[0].offsetLeft
        width = $(".time-line").width();
        result = left+width/2;
        $(".line").css("left",result);
    });
  }
})<commit_msg>fix footer position<commit_after>// Place all the behaviors and hooks related to the matching controller here.
// All this logic will automatically be available in application.js.

$(document).ready(function(){
  if($(".time-line")[0] != undefined){
    left = $(".time-line")[0].offsetLeft;
    width = $(".time-line").width();
    result = left+width/2;
    $(".line").css("left",result);
    $(window).resize(function() {
        left = $(".time-line")[0].offsetLeft
        width = $(".time-line").width();
        result = left+width/2;
        $(".line").css("left",result);
    });
  }
  footer = $("#footer")[0];
  if((footer.offsetTop + footer.clientHeight) < window.outerHeight){
    $(footer).css("position" , "fixed");
  }
})
{'fraction_non_alphanumeric': 0.2158490566037736, 'fraction_numerical': 0.00830188679245283, 'mean_word_length': 3.2636655948553055, 'pattern_counts': {'":': 0, '<': 4, '<?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': '7367421', 'n_tokens_mistral': 405, 'n_tokens_neox': 401, 'n_words': 89}