<commit_before>(function(w, $) {
    'use strict';

    /*
    *  Listings
    */

    // updates spans that appear instead of select box or labels on larger secreens
    function filtersMaskUpdate(e) {
        var filterSelect = $(e.target);
        var filterName = filterSelect.siblings('label').text();
        var filterText = filterSelect.find('option:selected').text();
        var filterMask = filterSelect.siblings('.listings-filter-mask');
        filterMask.text(filterText);

        ga('careersSnippetGA.send', 'event', 'Listings Filter', filterName, filterText);
    }

    // hides or shows filters on mobile
    function filtersToggle() {
        var listingsFilters = $('#listings-filters');
        // if open...
        if(listingsFilters.hasClass('open')) {
            // close filters
            listingsFilters.removeClass('open');
            // scroll up if fiter heading is now out of sight
            var endOfVisible = listingsFilters.offset().top - 5;
            var paddingFromTop = $('.masthead').height();
            if (endOfVisible < $('body').scrollTop()) {
                $('body').animate({scrollTop: endOfVisible - paddingFromTop}, '500', 'swing');
            }
        } else {
            listingsFilters.addClass('open');
        }
    }

    // go to the position details page for the job position clicked
    function listingGoToPosition(e) {
        if(e.target.nodeName !== 'A') {<commit_msg>element.tagName makes more sense than element.nodeName. +Style<commit_after>(function(w, $) {
    'use strict';

    /*
    *  Listings
    */

    // updates spans that appear instead of select box or labels on larger secreens
    function filtersMaskUpdate(e) {
        var filterSelect = $(e.target);
        var filterName = filterSelect.siblings('label').text();
        var filterText = filterSelect.find('option:selected').text();
        var filterMask = filterSelect.siblings('.listings-filter-mask');
        filterMask.text(filterText);

        ga('careersSnippetGA.send', 'event', 'Listings Filter', filterName, filterText);
    }

    // hides or shows filters on mobile
    function filtersToggle() {
        var listingsFilters = $('#listings-filters');
        // if open...
        if(listingsFilters.hasClass('open')) {
            // close filters
            listingsFilters.removeClass('open');
            // scroll up if fiter heading is now out of sight
            var endOfVisible = listingsFilters.offset().top - 5;
            var paddingFromTop = $('.masthead').height();
            if (endOfVisible < $('body').scrollTop()) {
                $('body').animate({scrollTop: endOfVisible - paddingFromTop}, '500', 'swing');
            }
        } else {
            listingsFilters.addClass('open');
        }
    }

    // go to the position details page for the job position clicked
    function listingGoToPosition(e) {
        if (e.target.tagName !== 'A') {
{'fraction_non_alphanumeric': 0.13083475298126065, 'fraction_numerical': 0.00272572402044293, 'mean_word_length': 2.340159271899886, 'pattern_counts': {'":': 0, '<': 5, '<?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': '4723185', 'n_tokens_mistral': 797, 'n_tokens_neox': 776, 'n_words': 201}