<commit_before>//=========================================
// 动画模块v4
//==========================================
$.define("fx", "css",function(){
    var types = {
        color:/color/i,
        scroll:/scroll/i,
        transform: /transform/i
    },
    rfxnum = /^([+\-/\*]=)?([\d+.\-]+)([a-z%]*)$/i;
    function visible(node) {
        return  $.css(node, "display") !== 'none';
    }
    $.mix({//缓动公式
        easing : {
            linear: function( pos ) {
                return pos;
            },
            swing: function( pos ) {
                return (-Math.cos(pos*Math.PI)/2) + 0.5;
            }
        },
        "@queue": [],//主列队
        tick: function(fx){//用于向主列队或元素的子列队插入动画实例，并会让停走了的定时器再次动起来
            var gotoQueue = true;
            for(var i = 0, el; el = $["@queue"][i++];){
                if(el.symbol == fx.symbol){//★★★第一步
                    el.positive.push(fx);//子列队
                    gotoQueue = false
                    break;
                }
            }
            if(gotoQueue){//★★★第二步
                fx.positive = fx.positive || [];
                $["@queue"].unshift( fx );<commit_msg>去掉rfxnum正则里面乘号的转义，by abcd<commit_after>//=========================================
// 动画模块v4
//==========================================
$.define("fx", "css",function(){
    var types = {
        color:/color/i,
        scroll:/scroll/i,
        transform: /transform/i
    },
    rfxnum = /^([+\-/*]=)?([\d+.\-]+)([a-z%]*)$/i;
    function visible(node) {
        return  $.css(node, "display") !== 'none';
    }
    $.mix({//缓动公式
        easing : {
            linear: function( pos ) {
                return pos;
            },
            swing: function( pos ) {
                return (-Math.cos(pos*Math.PI)/2) + 0.5;
            }
        },
        "@queue": [],//主列队
        tick: function(fx){//用于向主列队或元素的子列队插入动画实例，并会让停走了的定时器再次动起来
            var gotoQueue = true;
            for(var i = 0, el; el = $["@queue"][i++];){
                if(el.symbol == fx.symbol){//★★★第一步
                    el.positive.push(fx);//子列队
                    gotoQueue = false
                    break;
                }
            }
            if(gotoQueue){//★★★第二步
                fx.positive = fx.positive || [];
                $["@queue"].unshift( fx );
{'fraction_non_alphanumeric': 0.25206431986093003, 'fraction_numerical': 0.004345936549326379, 'mean_word_length': 1.4206098843322819, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, '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': '1582805', 'n_tokens_mistral': 801, 'n_tokens_neox': 789, 'n_words': 111}