<commit_before>$(function() {
    	  //Set Draggable Unit, grid and axis
    		$( ".reschedulable .unit:not(.blackout)" ).draggable({
    		  axis: "x",
    		  containment: "parent",
    		  grid: [ 2, 0],
    		  opacity: 0.7,
    		  revert: 'invalid',
    		    stop: function(){
                $(this).draggable('option','revert','invalid');  
            }
    		});
    	  //The unit container will fit the units. 
      	$('.reschedulable .unit_container').droppable({
            tolerance: 'fit'
        });
        //Do not allow the overlap, yell at me if I try to drop a reservation on a reservation
        $('.reschedulable .unit').droppable({
          greedy: true,
          tolerance: 'touch',
          hoverClass: "invalid",
          drop: function(event,ui){
             $(this).off('invalid');
              ui.draggable.draggable('option','revert',true);
              alert("These Times Over Lap - You Can't Do that.");
          }
        })
        //Tool Tip
        tooltipContent = function($el, $tip) {
          var id = /block_reservation_(\d+)/.exec($el.attr("id"))[1];
          return $("#tooltip_reservation_" + id).html();
        }
        $('.tip').tooltipsy({
            content: tooltipContent
        });

        // Date select calendar
        $(".datepicker").datepicker({
          showOn: "button",
          buttonImage: window.calendar_image_path,
          buttonImageOnly: true
        }).change(function() {
          $(this).parents("form").submit();
        });<commit_msg>adding a delay on rollout for the tooltip<commit_after>$(function() {
    	  //Set Draggable Unit, grid and axis
    		$( ".reschedulable .unit:not(.blackout)" ).draggable({
    		  axis: "x",
    		  containment: "parent",
    		  grid: [ 2, 0],
    		  opacity: 0.7,
    		  revert: 'invalid',
    		    stop: function(){
                $(this).draggable('option','revert','invalid');  
            }
    		});
    	  //The unit container will fit the units. 
      	$('.reschedulable .unit_container').droppable({
            tolerance: 'fit'
        });
        //Do not allow the overlap, yell at me if I try to drop a reservation on a reservation
        $('.reschedulable .unit').droppable({
          greedy: true,
          tolerance: 'touch',
          hoverClass: "invalid",
          drop: function(event,ui){
             $(this).off('invalid');
              ui.draggable.draggable('option','revert',true);
              alert("These Times Over Lap - You Can't Do that.");
          }
        })
        //Tool Tip
        tooltipContent = function($el, $tip) {
          var id = /block_reservation_(\d+)/.exec($el.attr("id"))[1];
          return $("#tooltip_reservation_" + id).html();
        }
        $('.tip').tooltipsy({
            content: tooltipContent,
            hide: function (e, $el) {
                   $el.delay(1000),
                   $el.fadeOut(200)
               }
        });

        // Date select calendar
        $(".datepicker").datepicker({
          showOn: "button",
          buttonImage: window.calendar_image_path,
          buttonImageOnly: true
        }).change(function() {
          $(this).parents("form").submit();
        });
{'fraction_non_alphanumeric': 0.15434782608695652, 'fraction_numerical': 0.005279503105590062, 'mean_word_length': 1.7135636057287278, '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': '5261911', 'n_tokens_mistral': 965, 'n_tokens_neox': 924, 'n_words': 211}