<commit_before>import Loadding from './loadding.vue';

Loadding.created = (Vue, properties) => {
    const _props = properties || {};

    const Instance = new Vue({
        data: _props,
        render (h) {
            return h(Loadding, {
                props: _props
            });
        }
    });

    const component = Instance.$mount();
    document.body.appendChild(component.$el);
    const loading = Instance.$children[0];

    return {
        show () {
            loading.show();
        },
        close(){
            loading.close();
        }
    };
};

export default Loadding;<commit_msg>edit axios loadding<commit_after>import Loadding from './loadding.vue';

Loadding.created = (Vue, properties) => {
    const _props = properties || {};

    const Instance = new Vue({
        data: _props,
        render (h) {
            return h(Loadding, { props: _props })
        }
    });

    const component = Instance.$mount();
    const loading = Instance.$children[0];
    document.body.appendChild(component.$el);

    return {
        show () {
            loading.show();
        },
        close(){
            loading.close();
        }
    };
};

export default Loadding;
{'fraction_non_alphanumeric': 0.13928273561301086, 'fraction_numerical': 0.0016680567139282735, 'mean_word_length': 1.8235294117647058, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, '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': '1986406', 'n_tokens_mistral': 336, 'n_tokens_neox': 333, 'n_words': 75}