src/tween-pro.js
function getProperty(style, name)
{
    if(style[name] !== void 0)
    {
        return [name, style[name]];
    }
    if(name in propertyNames)
    {
        return [propertyNames[name], style[propertyNames[name]]];
    }
    name = name.substr(0, 1).toUpperCase() + name.substr(1);
    var prefixes = ['webkit', 'moz', 'ms', 'o'], fullName;
    for(var i = 0, end = prefixes.length; i < end; i++)
    {
        fullName = prefixes[i] + name;
        if(style[fullName] !== void 0)
        {
            propertyNames[name] = fullName;
            return [fullName, style[fullName]];
        }
    }
    return [name, void 0];        
}
function getProperty(style, name)
{
    if(style[name] !== void 0)
    {
        return [name, style[name]];
    }
    if(name in propertyNames)
    {
        return [propertyNames[name], style[propertyNames[name]]];
    }
    name = name.substr(0, 1).toUpperCase() + name.substr(1);
    var prefixes = ['webkit', 'moz', 'ms', 'o'], fullName;
    for(var i = 0, end = prefixes.length; i < end; i++)
    {
        fullName = prefixes[i] + name;
        if(style[fullName] !== void 0)
        {
            propertyNames[name] = fullName;
            return [fullName, style[fullName]];
        }
    }
    return [name, void 0];        
}
function getProperty ( style , name ) { if ( style [ name ] !== void 0 ) { return [ name , style [ name ] ] ; } if ( name in propertyNames ) { return [ propertyNames [ name ] , style [ propertyNames [ name ] ] ] ; } name = name . substr ( 0 , 1 ) . toUpperCase ( ) + name . substr ( 1 ) ; var prefixes = [ 'webkit' , 'moz' , 'ms' , 'o' ] , fullName ; for ( var i = 0 , end = prefixes . length ; i < end ; i ++ ) { fullName = prefixes [ i ] + name ; if ( style [ fullName ] !== void 0 ) { propertyNames [ name ] = fullName ; return [ fullName , style [ fullName ] ] ; } } return [ name , void 0 ] ; }
Get style real name and value, checking for browser prefixes if needed

@param {object} style
@param {string} name
@returns {array} - return [realName, value]
Get style real name and value checking for browser prefixes if needed