<commit_before>/* Set up the advanced search box. */
z.searchBox = function() {
    if (!$('#search-form').length) return; // no search box

     var q = $('#query');

    /* Sync the placeholder text with the category. */
    $('#cat').change(function(){
        var cat = $(this).val(),
            placeholder = gettext('search for add-ons');
        if (cat == 'collections') {
            placeholder = gettext('search for collections');
        } else if (cat == 'personas') {
            placeholder = gettext('search for personas');
        }

        // Update the placeholder and trigger a change.<commit_msg>Fix whitepsace in js.<commit_after>/* Set up the advanced search box. */
z.searchBox = function() {
    if (!$('#search-form').length) return; // no search box

    var q = $('#query');

    /* Sync the placeholder text with the category. */
    $('#cat').change(function(){
        var cat = $(this).val(),
            placeholder = gettext('search for add-ons');
        if (cat == 'collections') {
            placeholder = gettext('search for collections');
        } else if (cat == 'personas') {
            placeholder = gettext('search for personas');
        }

        // Update the placeholder and trigger a change.
{'fraction_non_alphanumeric': 0.1566265060240964, 'fraction_numerical': 0.0, 'mean_word_length': 2.3315508021390374, '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': '2197610', 'n_tokens_mistral': 323, 'n_tokens_neox': 320, 'n_words': 112}