<commit_before>from gittip import AMOUNTS, get_tip
^L
if user.ANON:
    button_text = "Gittip"
elif user.id == path['participant_id']:
    button_text = "You!"
else:
    button_text = get_tip(user.id, path['participant_id'])
    if button_text == 0:
        button_text = "Gittip"
^L
<!doctype html>
<html>
    <head>
        <style>@import url("/assets/{{ __version__ }}/gittip.css");</style>
        <style>
            body {
                margin: 0;
                padding: 0;
                overflow: hidden;
            }
            button {
                position: absolute;
                top: 0;
                left: 0;
            }
        </style>
        <script src="/assets/jquery-1.7.1.min.js"></script>
        <script src="/assets/{{ __version__ }}/gittip.js"></script>
        <script>
            $(document).ready(function()
            {
                $('BUTTON').click(function()
                {
                    window.open('./');
                });
            });
        </script>
    </head>
    <body>
        <button class="small selected">{{ button_text }}</button>
        <script type="text/javascript">

          var _gaq = _gaq || [];
          _gaq.push(['_setAccount', 'UA-247427-33']);
          _gaq.push(['_setDomainName', '.gittip.com']);<commit_msg>*sigh* (#194)<commit_after>from gittip import AMOUNTS, get_tip
^L
if user.ANON:
    button_text = "Gittip"
elif user.id == path['participant_id']:
    button_text = "You!"
else:
    button_text = get_tip(user.id, path['participant_id'])
    if button_text == 0:
        button_text = "Gittip"
^L
<!doctype html>
<html>
    <head>
        <style>@import url("/assets/{{ __version__ }}/gittip.css");</style>
        <style>
            BODY {
                margin: 0;
                padding: 0;
                overflow: hidden;
            }
            BUTTON {
                position: absolute;
                top: 0;
                left: 0;
            }
        </style>
        <script src="/assets/jquery-1.7.1.min.js"></script>
        <script src="/assets/{{ __version__ }}/gittip.js"></script>
        <script>
            $(document).ready(function()
            {
                $('BUTTON').click(function()
                {
                    window.open('./');
                });
            });
        </script>
    </head>
    <body>
        <button class="small selected">{{ button_text }}</button>
        <script type="text/javascript">

          var _gaq = _gaq || [];
          _gaq.push(['_setAccount', 'UA-247427-33']);
          _gaq.push(['_setDomainName', '.gittip.com']);
{'fraction_non_alphanumeric': 0.16157372039724982, 'fraction_numerical': 0.013368983957219251, 'mean_word_length': 1.5328820116054158, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, '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': '3722983', 'n_tokens_mistral': 849, 'n_tokens_neox': 797, 'n_words': 152}