<commit_before>
// navBar.js
// Create the menu event handlers.

import AttrAdd from './reactCandidates/attrAdd.js';
function attrAdd () {
    $('#navBar .attrAdd').on('click', AttrAdd.init);
}

import NodeIdSelect from './nodeIdSelect.js';
function nodeIdSelect () {
    $('#navBar .nodeIdSelect').on('click', NodeIdSelect.show);
}

exports.init = function () {
    attrAdd();
    nodeIdSelect();
}
<commit_msg>on navBar, don't import files until the menu option is selected<commit_after>
// navBar.js
// Create the menu event handlers.


exports.init = function () {
    $('#navBar .attrAdd').on('click', function () {
        import AttrAdd from './reactCandidates/attrAdd.js';
        AttrAdd.init();
    });

    $('#navBar .nodeIdSelect').on('click', function () {
        import NodeIdSelect from './nodeIdSelect.js';
        NodeIdSelect.show();
    });

}

}

}

{'fraction_non_alphanumeric': 0.16991963260619977, 'fraction_numerical': 0.0, 'mean_word_length': 3.2745098039215685, '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': '3180758', 'n_tokens_mistral': 280, 'n_tokens_neox': 275, 'n_words': 64}