<commit_before>/**
 *
 * Created by nreed on 11/17/14.
 */
$(document).ready(function () {
    $("li").find("a[href='#advanced']").one("click", function() {
        setTimeout(function () {
            window.xmleditor.mirror.refresh();
        });
    });

    $("#further-info").html($("#wiki-info").html());
});<commit_msg>Prevent submission of form on 'Enter' key press.<commit_after>/**
 *
 * Created by nreed on 11/17/14.
 */
$(document).ready(function () {
    $("li").find("a[href='#advanced']").one("click", function() {
        setTimeout(function () {
            window.xmleditor.mirror.refresh();
        });
    });

    $("#further-info").html($("#wiki-info").html());

    $("form").bind("keypress", function(e) {
        // Enter key.
        if (e.keyCode == 13) {
            e.preventDefault();
        }
    });
});
{'fraction_non_alphanumeric': 0.24282296650717702, 'fraction_numerical': 0.01674641148325359, 'mean_word_length': 2.5466101694915255, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '2975981', 'n_tokens_mistral': 280, 'n_tokens_neox': 267, 'n_words': 39}