<commit_before>jQuery(document).ready(function() {
    $('a#shareBoxLink, #share-box-wrapper').mouseenter(function() {
    $('#share-box-wrapper').show();
    $('#share-box-wrapper').css({'top':$(this).offset().top});
    $('#share-box-wrapper').css({'left':$(this).offset().left});

    var value = window.location;
    $('a#share-twitter').attr('href', 'http://twitter.com/home?status=' + value);
    $('a#share-twitter').attr('target','_blank');
    $('a#share-email').attr('href', 'mailto:?body=' + value);
    $('a#share-fb').attr('href', 'http://www.facebook.com/sharer.php?u=' + value);
    $('a#share-fb').attr('target','_blank');
    });

    $('#share-box-wrapper').mouseleave(function () {
    $(this).hide();
    });
});

/* vi:set expandtab sts=4 sw=4: */<commit_msg>Added in first pass of JSON based config for the shareNice<commit_after>jQuery(document).ready(function() {
    $('a#shareBoxLink, #share-box-wrapper').mouseenter(function() {
    $('#share-box-wrapper').show();
    $('#share-box-wrapper').css({'top':$(this).offset().top});
    $('#share-box-wrapper').css({'left':$(this).offset().left});

    var value = window.location;
    $('a#share-twitter').attr('href', 'http://twitter.com/home?status=' + value);
    $('a#share-twitter').attr('target','_blank');
    $('a#share-email').attr('href', 'mailto:?body=' + value);
    $('a#share-fb').attr('href', 'http://www.facebook.com/sharer.php?u=' + value);
    $('a#share-fb').attr('target','_blank');
    });

    $('#share-box-wrapper').mouseleave(function () {
    $(this).hide();
    });
});

var shareNiceConfig = '
{ "twitter" : 
    {
        "url" : "http://twitter.com/home?status=[SHARE_URL]" ,
        "icon" : "twitter.com.png" 
    },
  "email" : 
    {
        "url" : "mailto:?subject=Look&body=[SHARE_URL]",
        "icon" : "email.png"
    },
  "facebook" : 
    {
        "url" : "http://www.facebook.com/sharer.php?u=[SHARE_URL]",
        "icon" : "facebook.com.png"
    }

}';


/* vi:set expandtab sts=4 sw=4: */
{'fraction_non_alphanumeric': 0.2700548081714001, 'fraction_numerical': 0.001993024414549078, 'mean_word_length': 3.691588785046729, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 3, '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': '1915082', 'n_tokens_mistral': 720, 'n_tokens_neox': 712, 'n_words': 79}