<commit_before>eg.module("css",[window.jQuery, document],function($, doc){
    /**
     * Apply css prefix cssHooks
     * @ko css prefix cssHooks 적용
     *
     * @name jQuery#css
     * @method
     *
     * @example
     * $("#ID").css("transform", "translate('10px', '10px');
     * $("#ID").css("Transform", "translate('10px', '10px');
     * $("#ID").css("webkitTransform", "translate('10px', '10px');
     * $("#ID").css("transform");
     * $("#ID").css("webkitTransform");
     */

    if ( !$.cssHooks ) {
      throw( new Error( "jQuery 1.4.3+ is needed for this plugin to work" ) );
    }

    // run in jQuery 1.8.x below
    if ( $.fn && $.fn.jquery && $.fn.jquery.replace(/\./, "") >= "18" ) {
        return;
    }

    var cssPrefixes = [ "Webkit", "Moz" , "O" , "ms" ],
        acts = ["transitionProperty" , "transitionDuration" , "transition", "transform", "transitionTimingFunction"];

    var vendorPrefix = (function() {
        var bodyStyle = (doc.head || doc.getElementsByTagName("head")[0]).style;
        for ( var i = 0, len = cssPrefixes.length ; i < len ; i++ ) {
            if( cssPrefixes[i]+"Transition" in bodyStyle ){
                return cssPrefixes[i];
            }
        }
    })();

    var setCssHooks = function( prop ) {
        var upperProp = prop.charAt(0).toUpperCase() + prop.slice(1),
            vendorProp = vendorPrefix + upperProp;

        $.cssHooks[upperProp] = $.cssHooks[vendorPrefix.toLowerCase() + upperProp] = $.cssHooks[prop] = {
            get: function( elem ){
                return $.css( elem, vendorProp );
            },
            set: function( elem, value ){
                elem.style[vendorProp] = value;
            }
        };
    };

    for( var n = 0, actsLen = acts.length ; n < actsLen ; n++ ){
        setCssHooks(acts[n]);
    }

    return {
       vendorPrefix : vendorPrefix,
       setCssHooks: setCssHooks
    };

});
<commit_msg>fix(css) : fix issue #216<commit_after>eg.module("css",[window.jQuery, document],function($, doc){
    /**
     * Apply css prefix cssHooks
     * @ko css prefix cssHooks 적용
     *
     * @name jQuery#css
     * @method
     *
     * @example
     * $("#ID").css("transform", "translate('10px', '10px');
     * $("#ID").css("Transform", "translate('10px', '10px');
     * $("#ID").css("webkitTransform", "translate('10px', '10px');
     * $("#ID").css("transform");
     * $("#ID").css("webkitTransform");
     */

    if ( !$.cssHooks ) {
      throw( new Error( "jQuery 1.4.3+ is needed for this plugin to work" ) );
    }

    // run in jQuery 1.8.x below
    if ( $.fn && $.fn.jquery && $.fn.jquery.replace(/\./, "") >= "18" ) {
        return;
    }

    var cssPrefixes = [ "Webkit", "Moz" , "O" , "ms" ],
        acts = ["transitionProperty" , "transitionDuration" , "transition", "transform", "transitionTimingFunction"];

    var vendorPrefix = (function() {
        var bodyStyle = (doc.head || doc.getElementsByTagName("head")[0]).style;
        for ( var i = 0, len = cssPrefixes.length ; i < len ; i++ ) {
            if( cssPrefixes[i]+"Transition" in bodyStyle ){
                return cssPrefixes[i];
            }
        }
    })();

    // ie7, 8 - transform and transition not support
    // ie9 - transition not support
     if(!vendorPrefix) {
        return;
    }

    var setCssHooks = function( prop ) {
        var upperProp = prop.charAt(0).toUpperCase() + prop.slice(1),
            vendorProp = vendorPrefix + upperProp;

        $.cssHooks[upperProp] = $.cssHooks[vendorPrefix.toLowerCase() + upperProp] = $.cssHooks[prop] = {
            get: function( elem ){
                return $.css( elem, vendorProp );
            },
            set: function( elem, value ){
                elem.style[vendorProp] = value;
            }
        };
    };

    for( var n = 0, actsLen = acts.length ; n < actsLen ; n++ ){
        setCssHooks(acts[n]);
    }

    return {
       vendorPrefix : vendorPrefix,
       setCssHooks: setCssHooks
    };

});
{'fraction_non_alphanumeric': 0.18006993006993008, 'fraction_numerical': 0.013486513486513486, 'mean_word_length': 2.1362568519968677, 'pattern_counts': {'":': 0, '<': 7, '<?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': '3659191', 'n_tokens_mistral': 1303, 'n_tokens_neox': 1256, 'n_words': 274}