function(el) {
            var styles = ['transitionProperty', 'WebkitTransitionProperty', 'MozTransitionProperty',
                          'OTransitionProperty', 'msTransitionProperty', 'KhtmlTransitionProperty'];

            var style = el.dom.style;
            for(var i = 0, length = styles.length; i < length; ++i) {
                if(style[styles[i]] !== 'undefined') {
                    // Supported property will result in empty string
                    return true;
                }
            }
            return false;
        }
function(el) {
            var styles = ['transitionProperty', 'WebkitTransitionProperty', 'MozTransitionProperty',
                          'OTransitionProperty', 'msTransitionProperty', 'KhtmlTransitionProperty'];

            var style = el.dom.style;
            for(var i = 0, length = styles.length; i < length; ++i) {
                if(style[styles[i]] !== 'undefined') {
                    
                    return true;
                }
            }
            return false;
        }
function ( el ) { var styles = [ 'transitionProperty' , 'WebkitTransitionProperty' , 'MozTransitionProperty' , 'OTransitionProperty' , 'msTransitionProperty' , 'KhtmlTransitionProperty' ] ; var style = el . dom . style ; for ( var i = 0 , length = styles . length ; i < length ; ++ i ) { if ( style [ styles [ i ] ] !== 'undefined' ) { // Supported property will result in empty string return true ; } } return false ; }
Returns true iff the browser supports CSS 3 transitions
@param el an element that is checked for support of the "transition" CSS property (considering any
vendor prefixes)
Returns true iff the browser supports CSS 3 transitions