<commit_before>
$(function() {
    Stream.init();

    function hidePopup(e) {
        if (e) {
            e.preventDefault();
        }

        $('.popup').hide();
        $('.popup-background').hide();
    }

    function showSignupPopup(e) {
        if (e) {
            e.preventDefault();
        }

        $('.popup-signup').show();    
        $('.popup-background').show();    
    }

    function showAboutPopup(e) {
        if (e) {
            e.preventDefault();
        }

        $('.popup-about').show();    
        $('.popup-background').show();    
    }

    $(document).bind('keyup', function(e) {
        if (e.which === 27) {
            hidePopup(e);
        }
    });

    $('.sign-up').bind('click', showSignupPopup);
    $('.header .title').bind('click', showAboutPopup);
    $('.popup .close').bind('click', hidePopup);
    $('.popup-background').bind('click', hidePopup);

    $('.popup form').bind('submit', function(e) {
        e.preventDefault();
    });

    if (window.location.hash === "#about") {
        showAboutPopup();
    }
});<commit_msg>hide signup button on other domains<commit_after>
$(function() {
    Stream.init();

    function hidePopup(e) {
        if (e) {
            e.preventDefault();
        }

        $('.popup').hide();
        $('.popup-background').hide();
    }

    function showSignupPopup(e) {
        if (e) {
            e.preventDefault();
        }

        $('.popup-signup').show();    
        $('.popup-background').show();    
    }

    function showAboutPopup(e) {
        if (e) {
            e.preventDefault();
        }

        $('.popup-about').show();    
        $('.popup-background').show();    
    }

    $(document).bind('keyup', function(e) {
        if (e.which === 27) {
            hidePopup(e);
        }
    });

    $('.sign-up').bind('click', showSignupPopup);
    $('.header .title').bind('click', showAboutPopup);
    $('.popup .close').bind('click', hidePopup);
    $('.popup-background').bind('click', hidePopup);

    $('.popup form').bind('submit', function(e) {
        e.preventDefault();
    });

    if (window.location.hash === "#about") {
        showAboutPopup();
    }

    if (window.location.host !== "pipeup.io") {
        $(".nav .sign-up").hide();
    }
});
{'fraction_non_alphanumeric': 0.2151009657594381, 'fraction_numerical': 0.001755926251097454, 'mean_word_length': 1.84875, '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': '349391', 'n_tokens_mistral': 706, 'n_tokens_neox': 706, 'n_words': 106}