<commit_before>(function($) {
  'use strict'; 

  $.fn.extend({
    UIRange : function () {
      if ($.isWin) return;
      if (!this.nodeName === 'INPUT') return;
      var input = $(this);    
      var newPlace;  
      var width = input.width();
      var newPoint = (input.val() - input.attr("min")) / (input.attr("max") - input.attr("min"));
      var offset = -1.3;
      if (newPoint < 0) { 
        newPlace = 0; 
      } else if (newPoint > 1) { 
        newPlace = width; 
      } else { 
        newPlace = width * newPoint + offset; offset -= newPoint; 
      }
      input.css({'background-size': Math.round(newPlace) + 'px 10px'})         
    }
  });
  $(function() {
    $('input[type=range]').each(function(_, ctx) {
      $(ctx).UIRange();
    });
    $('body').on('input', 'input[type=range]', function() {
      $(this).UIRange();
    });
  });

})(window.jQuery);<commit_msg>Grunt Warning<commit_after>(function($) {
  'use strict'; 

  $.fn.extend({
    UIRange : function () {
      if ($.isWin) return;
      if (this.nodeName !== 'INPUT') return;
      var input = $(this);    
      var newPlace;  
      var width = input.width();
      var newPoint = (input.val() - input.attr("min")) / (input.attr("max") - input.attr("min"));
      var offset = -1.3;
      if (newPoint < 0) { 
        newPlace = 0; 
      } else if (newPoint > 1) { 
        newPlace = width; 
      } else { 
        newPlace = width * newPoint + offset; offset -= newPoint; 
      }
      input.css({'background-size': Math.round(newPlace) + 'px 10px'});         
    }
  });
  $(function() {
    $('input[type=range]').each(function(_, ctx) {
      $(ctx).UIRange();
    });
    $('body').on('input', 'input[type=range]', function() {
      $(this).UIRange();
    });
  });

})(window.jQuery);

{'fraction_non_alphanumeric': 0.20701168614357263, 'fraction_numerical': 0.0077907623817473565, 'mean_word_length': 2.148861646234676, 'pattern_counts': {'":': 0, '<': 5, '<?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': '5129012', 'n_tokens_mistral': 631, 'n_tokens_neox': 601, 'n_words': 122}