<commit_before>var myApp = new Framework7({
    modalTitle: '',
    animateNavBackIcon: true,
});

// Expose Internal DOM library
var $$ = Dom7;

myApp.onPageInit('index', function (page) {
    // Dummy Content
    var songs = ['Yellow Submarine', 'Don\'t Stop Me Now', 'Billie Jean', 'Californication'];
    var authors = ['Beatles', 'Queen', '<NAME>', 'Red Hot Ch<NAME>'];
    // Pull to refresh content
    var ptrContent = $$(page.container).find('.pull-to-refresh-content');
    // Add 'refresh' listener on it
    ptrContent.on('refresh', function (e) {
        // Emulate 2s loading
        setTimeout(function () {
            var picURL = 'http://lorempixel.com/88/88/abstract/' + Math.round(Math.random() * 10);
            var song = songs[Math.floor(Math.random() * songs.length)];
            var author = authors[Math.floor(Math.random() * authors.length)];
            var linkHTML = '<li class="item-content">' +
                                '<div class="item-media"><img src="' + picURL + '" width="44"/></div>' +
                                '<div class="item-inner">' +
                                    '<div class="item-title-row">' +
                                        '<div class="item-title">' + song + '</div>' +
                                    '</div>' +
                                    '<div class="item-subtitle">' + author + '</div>' +
                                '</div>' +
                            '</li>';
            ptrContent.find('ul').prepend(linkHTML);
            // When loading done, we need to "close" it
            myApp.pullToRefreshDone();
        }, 2000);
    });<commit_msg>pull to refresh again 3<commit_after>var myApp = new Framework7({
    modalTitle: '',
    animateNavBackIcon: true,
});

// Expose Internal DOM library
var $$ = Dom7;

myApp.onPageInit('index', function (page) {
    // Dummy Content
    var songs = ['Yellow Submarine', 'Don\'t Stop Me Now', 'Billie Jean', 'Californication'];
    var authors = ['Beatles', 'Queen', '<NAME>', 'Red Hot Chili Peppers'];
    // Pull to refresh content
    var ptrContent = $$(page.container).find('.pull-to-refresh-content');
    // Add 'refresh' listener on it
    ptrContent.on('refresh', function (e) {
        // Emulate 2s loading
        setTimeout(function () {
            // var picURL = 'http://lorempixel.com/88/88/abstract/' + Math.round(Math.random() * 10);
            // var song = songs[Math.floor(Math.random() * songs.length)];
            // var author = authors[Math.floor(Math.random() * authors.length)];
            // var linkHTML = '<li class="item-content">' +
            //                     '<div class="item-media"><img src="' + picURL + '" width="44"/></div>' +
            //                     '<div class="item-inner">' +
            //                         '<div class="item-title-row">' +
            //                             '<div class="item-title">' + song + '</div>' +
            //                         '</div>' +
            //                         '<div class="item-subtitle">' + author + '</div>' +
            //                     '</div>' +
            //                 '</li>';
            // ptrContent.find('ul').prepend(linkHTML);
            // When loading done, we need to "close" it
            myApp.pullToRefreshDone();
        }, 2000);
    });
{'fraction_non_alphanumeric': 0.17163289630512515, 'fraction_numerical': 0.009237187127532777, 'mean_word_length': 1.6083916083916083, 'pattern_counts': {'":': 0, '<': 32, '<?xml version=': 0, '>': 32, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7513429', 'n_tokens_mistral': 949, 'n_tokens_neox': 914, 'n_words': 213}