<commit_before>// https://www.dcard.tw/_api/forums/sex/posts?popular=true&before=225694690
// https://www.dcard.tw/_api/posts/225699806
// https://www.dcard.tw/_api/posts/225699806/comments
// https://www.dcard.tw/_api/posts/225704108/comments?popular=true
Vue.prototype.$http = axios
new Vue({
    el: '#app',
    data: {
        fullContent: [],
        loading: false,
        before: '', // LAST ITEM
        popular: localStorage.getItem('popular') != null ? JSON.parse(localStorage.getItem('popular')) : true,
    },
    mounted: function() {  
        window.addEventListener('scroll', this.handleScroll)
        this.init()
    },
    computed: {
        thePopular () {
            if (this.popular) {
                return 'Hot';
            } else {
                return 'New';
            }<commit_msg>dca access-control-allow-origin<commit_after>// https://www.dcard.tw/_api/forums/sex/posts?popular=true&before=225694690
// https://www.dcard.tw/_api/posts/225699806
// https://www.dcard.tw/_api/posts/225699806/comments
// https://www.dcard.tw/_api/posts/225704108/comments?popular=true
Vue.prototype.$http = axios
axios.defaults.headers.common['access-control-allow-origin'] = '*'
new Vue({
    el: '#app',
    data: {
        fullContent: [],
        loading: false,
        before: '', // LAST ITEM
        popular: localStorage.getItem('popular') != null ? JSON.parse(localStorage.getItem('popular')) : true,
    },
    mounted: function() {  
        window.addEventListener('scroll', this.handleScroll)
        this.init()
    },
    computed: {
        thePopular () {
            if (this.popular) {
                return 'Hot';
            } else {
                return 'New';
            }
{'fraction_non_alphanumeric': 0.16346713205351948, 'fraction_numerical': 0.041884816753926704, 'mean_word_length': 2.257575757575758, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 8, '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': '4831202', 'n_tokens_mistral': 593, 'n_tokens_neox': 536, 'n_words': 76}