<commit_before>// Hey there! I know how to install apps. Buttons are dumb now.

(function() {
    z.page.on('click', '.button.product', clickHandler);

    function clickHandler(e) {
        e.preventDefault();
        e.stopPropagation();
        var product = $(this).data('product');
        startInstall(product);
    }

    function startInstall(product) {
       if ((!z.allowAnonInstalls && z.anonymous) ||
            (z.allowAnonInstalls && product.price)) {
            localStorage.setItem('toInstall', product.manifestUrl);
            $(window).trigger('login');
            return;
        }
        // Show "Install" button if I'm installing from the Reviewer Tools,<commit_msg>start install for paid apps even if anonymous<commit_after>// Hey there! I know how to install apps. Buttons are dumb now.

(function() {
    z.page.on('click', '.button.product', clickHandler);

    function clickHandler(e) {
        e.preventDefault();
        e.stopPropagation();
        var product = $(this).data('product');
        startInstall(product);
    }

    function startInstall(product) {
        if (z.anonymous && (!z.allowAnonInstalls || product.price)) {
            localStorage.setItem('toInstall', product.manifestUrl);
            $(window).trigger('login');
            return;
        }
        // Show "Install" button if I'm installing from the Reviewer Tools,
{'fraction_non_alphanumeric': 0.1353111432706223, 'fraction_numerical': 0.0, 'mean_word_length': 2.546153846153846, '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': '5413304', 'n_tokens_mistral': 382, 'n_tokens_neox': 375, 'n_words': 97}