<commit_before>// = require uploadcare/widget
UPLOADCARE_PUBLIC_KEY = 'demopublickey';
UPLOADCARE_URL_BASE = 'https://upload.staging0.uploadcare.com';
UPLOADCARE_PUSHER_KEY = 'a2dfe15c549a403f58ee';

// UPLOADCARE_SOCIAL_BASE = 'http://0.0.0.0:5000';
UPLOADCARE_SOCIAL_BASE = 'http://social.staging0.uploadcare.com/'
UPLOADCARE_CDN_BASE = 'http://staging0.ucarecdn.com/'

setTimeout(function() {
    uploadcare.jQuery(uploadcare).on('log.uploadcare', function(e, args){
        console.log.apply(console, args);
    });
}, 1000);


<commit_msg>fix logger in demo<commit_after>// = require uploadcare/widget
UPLOADCARE_PUBLIC_KEY = 'demopublickey';
UPLOADCARE_URL_BASE = 'https://upload.staging0.uploadcare.com';
UPLOADCARE_PUSHER_KEY = 'a2dfe15c549a403f58ee';

// UPLOADCARE_SOCIAL_BASE = 'http://0.0.0.0:5000';
UPLOADCARE_SOCIAL_BASE = 'http://social.staging0.uploadcare.com/'
UPLOADCARE_CDN_BASE = 'http://staging0.ucarecdn.com/'

setTimeout(function() {
    uploadcare.jQuery(uploadcare).on('log.uploadcare', function(e, args){
        // IE can't console.log.apply() even if console.log is present
        console.log && console.log(args);
    });
}, 1000);



{'fraction_non_alphanumeric': 0.15721649484536082, 'fraction_numerical': 0.044673539518900345, 'mean_word_length': 4.9743589743589745, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '7652811', 'n_tokens_mistral': 474, 'n_tokens_neox': 451, 'n_words': 55}