lib/kissy/5.0.0-alpha.3/build/feature-debug.js
function getVendorInfo(name) {
        if (name.indexOf('-') !== -1) {
            name = name.replace(RE_DASH, upperCase);
        }
        if (name in vendorInfos) {
            return vendorInfos[name];
        }    // if already prefixed or need not to prefix
        // if already prefixed or need not to prefix
        if (!documentElementStyle || name in documentElementStyle) {
            vendorInfos[name] = {
                propertyName: name,
                propertyNamePrefix: ''
            };
        } else {
            var upperFirstName = name.charAt(0).toUpperCase() + name.slice(1), vendorName;
            for (var i = 0; i < propertyPrefixesLength; i++) {
                var propertyNamePrefix = propertyPrefixes[i];
                vendorName = propertyNamePrefix + upperFirstName;
                if (vendorName in documentElementStyle) {
                    vendorInfos[name] = {
                        propertyName: vendorName,
                        propertyNamePrefix: propertyNamePrefix
                    };
                }
            }
            vendorInfos[name] = vendorInfos[name] || null;
        }
        return vendorInfos[name];
    }
function getVendorInfo(name) {
        if (name.indexOf('-') !== -1) {
            name = name.replace(RE_DASH, upperCase);
        }
        if (name in vendorInfos) {
            return vendorInfos[name];
        }    // if already prefixed or need not to prefix
        // if already prefixed or need not to prefix
        if (!documentElementStyle || name in documentElementStyle) {
            vendorInfos[name] = {
                propertyName: name,
                propertyNamePrefix: ''
            };
        } else {
            var upperFirstName = name.charAt(0).toUpperCase() + name.slice(1), vendorName;
            for (var i = 0; i < propertyPrefixesLength; i++) {
                var propertyNamePrefix = propertyPrefixes[i];
                vendorName = propertyNamePrefix + upperFirstName;
                if (vendorName in documentElementStyle) {
                    vendorInfos[name] = {
                        propertyName: vendorName,
                        propertyNamePrefix: propertyNamePrefix
                    };
                }
            }
            vendorInfos[name] = vendorInfos[name] || null;
        }
        return vendorInfos[name];
    }
function getVendorInfo ( name ) { if ( name . indexOf ( '-' ) !== - 1 ) { name = name . replace ( RE_DASH , upperCase ) ; } if ( name in vendorInfos ) { return vendorInfos [ name ] ; } // if already prefixed or need not to prefix // if already prefixed or need not to prefix if ( ! documentElementStyle || name in documentElementStyle ) { vendorInfos [ name ] = { propertyName : name , propertyNamePrefix : '' } ; } else { var upperFirstName = name . charAt ( 0 ) . toUpperCase ( ) + name . slice ( 1 ) , vendorName ; for ( var i = 0 ; i < propertyPrefixesLength ; i ++ ) { var propertyNamePrefix = propertyPrefixes [ i ] ; vendorName = propertyNamePrefix + upperFirstName ; if ( vendorName in documentElementStyle ) { vendorInfos [ name ] = { propertyName : vendorName , propertyNamePrefix : propertyNamePrefix } ; } } vendorInfos [ name ] = vendorInfos [ name ] || null ; } return vendorInfos [ name ] ; }
return prefixed css prefix name return prefixed css prefix name
return prefixed css prefix name return prefixed css prefix name