<commit_before>$('#move_friends_link').live( 'click', 
    function(){
      $.post('/groups/move_friends',
        {'moves' : $('#group_list').data()},
        function(){ $('#group_title').html("Groups edited successfully!");});
      $(".person").css('background-color','white');
      $('#group_list').removeData();
      $(".person").setAttribute('from_group_id', function(){$(this).closest(".group ul").attr('id')})
    });

$(function() {
		$("li .person").draggable({
		  revert: true
    });
		$(".group ul").droppable({

			drop: function(event, ui) {
        var move = {};
        move[ 'friend_id' ] = ui.draggable[0].id
        move[ 'to' ] = $(this)[0].id;
        move[ 'from' ] = ui.draggable[0].getAttribute('from_group_id');<commit_msg>DG IZ first commit from the car, now can change groups a couple of times<commit_after>$('#move_friends_link').live( 'click', 
    function(){
      $.post('/groups/move_friends',
        {'moves' : $('#group_list').data()},
        function(){ $('#group_title').html("Groups edited successfully!");});
      $(".person").css('background-color','white');
      $('#group_list').removeData();
      $(".person").attr('from_group_id', function(){return $(this).parent().attr('id')})
    });

$(function() {
		$("li .person").draggable({
		  revert: true
    });
		$(".group ul").droppable({

			drop: function(event, ui) {
        var move = {};
        move[ 'friend_id' ] = ui.draggable[0].id
        move[ 'to' ] = $(this)[0].id;
        move[ 'from' ] = ui.draggable[0].getAttribute('from_group_id');
{'fraction_non_alphanumeric': 0.2416452442159383, 'fraction_numerical': 0.0038560411311053984, 'mean_word_length': 3.3983050847457625, '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': '2625384', 'n_tokens_mistral': 513, 'n_tokens_neox': 496, 'n_words': 85}