<commit_before>/**
 *
 * Docbase engine
 * Appbase
 * MIT license
 *
 */

(function($, angular) {
    /*
     * Scrollspy.
     */
    $(function() {
        $("h2, h3").scrollagent(function(cid, pid, currentElement, previousElement) {
            if (pid) {
                $("[href='#" + pid + "']").removeClass('active');
            }
            if (cid) {
                $("[href='#" + cid + "']").addClass('active');
            }
        });
    });
})(window.jQuery, window.angular);<commit_msg>changing the selector<commit_after>/**
 *
 * Docbase engine
 * Appbase
 * MIT license
 *
 */

(function($, angular) {
    /*
     * Scrollspy.
     */
    $(function() {
        $("h2, h3").scrollagent(function(cid, pid, currentElement, previousElement) {
            if (pid) {
                $("[href*='#" + pid + "']").removeClass('active');
            }
            if (cid) {
                $("[href*='#" + cid + "']").addClass('active');
            }
        });
    });
})(window.jQuery, window.angular);
{'fraction_non_alphanumeric': 0.21372549019607842, 'fraction_numerical': 0.00392156862745098, 'mean_word_length': 1.7669376693766938, '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': '4412856', 'n_tokens_mistral': 323, 'n_tokens_neox': 324, 'n_words': 55}