<commit_before>(function($){
  $.fn.hasOneEditor = function(options) {
    var defaults = {
    };
    var options = $.extend(defaults, options);

    return this.each(function() {
      list = $(this);
      list.droppable({
        accept: function(draggable) { 
          return(
            draggable.is('li') &&
            draggable.parent()[0] != list[0] &&
            draggable.typeAndId()
          );
        },
        hoverClass: 'hover',
        activeClass: 'active-droppable',
        greedy: true,
        tolerance: 'touch',
        drop: function(e,ui) {
          var item = $(ui.draggable);
          list.find('li').remove();
          item.clone().appendTo(list);
        }
      });
      $('li', list).livequery(function() {
        $(this).hasOneEditorElement();
      });<commit_msg>minor js fix<commit_after>(function($){
  $.fn.hasOneEditor = function(options) {
    var defaults = {
    };
    var options = $.extend(defaults, options);

    return this.each(function() {
      var list = $(this);
      list.droppable({
        accept: function(draggable) { 
          return(
            draggable.is('li') &&
            draggable.parent()[0] != list[0] &&
            draggable.typeAndId()
          );
        },
        hoverClass: 'hover',
        activeClass: 'active-droppable',
        greedy: true,
        tolerance: 'touch',
        drop: function(e,ui) {
          var item = $(ui.draggable);
          list.find('li').remove();
          item.clone().appendTo(list);
        }
      });
      $('li', list).livequery(function() {
        $(this).hasOneEditorElement();
      });
{'fraction_non_alphanumeric': 0.16759088108441159, 'fraction_numerical': 0.0024645717806531116, 'mean_word_length': 1.8591549295774648, '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': '4320437', 'n_tokens_mistral': 489, 'n_tokens_neox': 485, 'n_words': 81}