<commit_before>define([
    'notify!',
    '$chrome!./index.chrome',
    '6<=$ie<9!./index.IE',
    '^6<=$ie<9!./index.notIE',
    '$pixel>1!./index.retina',
    'widget!frame/topbar'
], function (notify, chrome, IE, notIE, retina, topbar) {
    //console.log(notify.notify);
    //console.log(chrome);
    //console.log(IE);
    //console.log(notIE);
    //console.log(retina);
    //var t1 = new topbar({'option': 'I am option'});
    //t1.$emit('ok');
    //t1.$emit('ok');
    //var resizeFn = $m.$throttle(function (x) {
    //    console.log(x);
    //}, 100);
    //$m.$addEvent(window, 'resize', function () {
    //    resizeFn(100);
    //});
    var t1 = $m.$parseHTML('<div></div>');
    var t2 = $m.$parseHTML('<p>2222</p>');
    var f = $m.$fragment();
    t1.appendChild(t2);
    f.appendChild(t1);
    t1.onclick = function () {
        t1.removeChild(t2);
        t2 = $m.$parseHTML('<p>3333</p>');
        t1.appendChild(t2);
    };
    $m.$get('#test1')[0].appendChild(f);

});<commit_msg>add test<commit_after>define([
    'notify!',
    '$chrome!./index.chrome',
    '6<=$ie<9!./index.IE',
    '^6<=$ie<9!./index.notIE',
    '$pixel>1!./index.retina',
    'widget!frame/topbar'
], function (notify, chrome, IE, notIE, retina, topbar) {
    //console.log(notify.notify);
    //console.log(chrome);
    //console.log(IE);
    //console.log(notIE);
    //console.log(retina);
    //var t1 = new topbar({'option': 'I am option'});
    //t1.$emit('ok');
    //t1.$emit('ok');
    //var resizeFn = $m.$throttle(function (x) {
    //    console.log(x);
    //}, 100);
    //$m.$addEvent(window, 'resize', function () {
    //    resizeFn(100);
    //});
    var t1 = $m.$parseHTML('<div></div>');
    var t2 = $m.$parseHTML('<p>2222</p>');
    var f = $m.$fragment();
    t1.appendChild(t2);
    f.appendChild(t1);
    t1.onclick = function () {
        t1.replaceChild($m.$parseHTML('<p>3333</p>'), t2);
    };
    $m.$get('#test1')[0].appendChild(f);

});
{'fraction_non_alphanumeric': 0.2602739726027397, 'fraction_numerical': 0.033992897006595635, 'mean_word_length': 2.5854545454545454, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 17, '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': '1671470', 'n_tokens_mistral': 800, 'n_tokens_neox': 767, 'n_words': 111}