<commit_before>var $dom = $(document);
var btnJoin  = '.join-now-wrap';
var btnNew = '.btn-submit-new';
var btnLike = '.btn-like-click';
var btnLikeConf = '.btn-like-confirm';
var btnShare = '.btn-share-click';
var btnShareConf = '.btn-share-confirm';
var btnGoGallery = '.btn-go-gallery';
var btnSubmitNew = '.btn-submit-new';
var frmSection = '.frm-section';
var modalThankYou = '#confirmation-thankyou';
var modalSubmit = '#confirmation-submit';
var modalLike = '#confirmation-like';
var modalShare = '#confirmation-share';

var sectComplete = '#upload-complete';
var serverHost = getHost();
var host = serverHost+"listener/poten-cee";
var galleryActiveID = 0;

var page = 1;
var limit = 9;
var btnLoadMore = '.load-more';
$loader = $('.wavy-loader');

var hastag;

$.getScript('//connect.facebook.net/en_US/sdk.js', function(){
    FB.init({
        appId: '487951431561097',
        version: 'v2.10'
    });
});

function getHost() {
    console.log(location.href, location.href.indexOf('local.potencee.com'));

    if(location.href.indexOf('local.potencee.com') > -1)
        return 'http://tools.propelrr.net/';
    else if(location.href.indexOf('ptc-campaign.herokuapp.com') > -1 || location.href.indexOf('raw2.statichtmlapp.com') > -1)
        return 'https://tools-dev.propelrr.com/';

    return 'https://tools.propelrr.com/';
}

function getList(reset) {
    var url = host+'/getList';

    $loader.addClass('active');

    $.ajax({
        url: url,
        type: 'POST',
        data: { pageNum: (((page-1)*limit)+1), limit: limit }
    }).done( function(data) {

        $loader.removeClass('active');

        var entryDiv = $('.video-gallery ul');

        if(reset)
            entryDiv.empty();

        entryDiv.append(data.list);
        if(!data.total) {
            entryDiv.html('<div style="text-align: center;">There\'s no entry yet.<br><br>Be the first to submit your entry and get a chance to win the prize!</div>');<commit_msg>Update Assets<commit_after>var $dom = $(document);
var btnJoin  = '.join-now-wrap';
var btnNew = '.btn-submit-new';
var btnLike = '.btn-like-click';
var btnLikeConf = '.btn-like-confirm';
var btnShare = '.btn-share-click';
var btnShareConf = '.btn-share-confirm';
var btnGoGallery = '.btn-go-gallery';
var btnSubmitNew = '.btn-submit-new';
var frmSection = '.frm-section';
var modalThankYou = '#confirmation-thankyou';
var modalSubmit = '#confirmation-submit';
var modalLike = '#confirmation-like';
var modalShare = '#confirmation-share';

var sectComplete = '#upload-complete';
var serverHost = getHost();
var host = serverHost+"listener/poten-cee";
var galleryActiveID = 0;

var page = 1;
var limit = 9;
var btnLoadMore = '.load-more';
$loader = $('.wavy-loader');

var hastag;

$.getScript('//connect.facebook.net/en_US/sdk.js', function(){
    FB.init({
        appId: '487951431561097',
        version: 'v2.10'
    });
});

function getHost() {
    console.log(location.href, location.href.indexOf('local.potencee.com'));

    if(location.href.indexOf('local.potencee.com') > -1)
        return 'http://tools.propelrr.net/';
    else if(location.href.indexOf('ptc-campaign.herokuapp.com') > -1 || location.href.indexOf('raw2.statichtmlapp.com') > -1)
        return 'https://tools-dev.propelrr.com/';

    return 'https://tools.propelrr.com/';
}

function getList(reset) {
    var url = host+'/getList';

    $loader.addClass('active');

    $.ajax({
        url: url,
        type: 'POST',
        data: { pageNum: (((page-1)*limit)), limit: limit }
    }).done( function(data) {

        $loader.removeClass('active');

        var entryDiv = $('.video-gallery ul');

        if(reset)
            entryDiv.empty();

        entryDiv.append(data.list);
        if(!data.total) {
            entryDiv.html('<div style="text-align: center;">There\'s no entry yet.<br><br>Be the first to submit your entry and get a chance to win the prize!</div>');
{'fraction_non_alphanumeric': 0.18184143222506394, 'fraction_numerical': 0.013554987212276215, 'mean_word_length': 3.3263274336283186, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 17, 'https://': 4, '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': '572088', 'n_tokens_mistral': 1339, 'n_tokens_neox': 1282, 'n_words': 276}