<commit_before>function allowDrop(ev) {
    ev.preventDefault();
}

function drag(ev) {
    ev.dataTransfer.setData("text", ev.target.id);
}

function drop(ev) {
    ev.preventDefault();
    ev.target.appendChild(document.getElementById(ev.dataTransfer.getData("text")));
}<commit_msg>Update index.js<commit_after>function allowDrop(ev) {
    ev.preventDefault();
}

function drag(ev) {
    ev.dataTransfer.setData("text", ev.target.id);
}

function drop(ev) {
    ev.preventDefault();
    ev.target.appendChild(document.getElementById(ev.dataTransfer.getData("text")));
    
    var snd = new Audio("/audio/horse.mp3"); // buffers automatically when created
    snd.play();
}
{'fraction_non_alphanumeric': 0.16272189349112426, 'fraction_numerical': 0.0014792899408284023, 'mean_word_length': 4.504065040650406, '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': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5257585', 'n_tokens_mistral': 209, 'n_tokens_neox': 214, 'n_words': 32}