function animationEndSelect () {
    var t
    var el = document.createElement('fake')
    var transitions = {
      'transition': 'animationend',
      'OTransition': 'oAnimationEnd',
      'MozTransition': 'animationend',
      'WebkitTransition': 'webkitAnimationEnd'
    }

    for (t in transitions) {
      if (el.style[t] !== undefined) {
        return transitions[t]
      }
    }
  }
// Determine which animationend event is supported
Determine which animationend event is supported
Determine which animationend event is supported
function animationEndSelect () {
    var t
    var el = document.createElement('fake')
    var transitions = {
      'transition': 'animationend',
      'OTransition': 'oAnimationEnd',
      'MozTransition': 'animationend',
      'WebkitTransition': 'webkitAnimationEnd'
    }
    for (t in transitions) {
      if (el.style[t] !== undefined) {
        return transitions[t]
      }
    }
  }
function animationEndSelect ( ) { var t var el = document . createElement ( 'fake' ) var transitions = { 'transition' : 'animationend' , 'OTransition' : 'oAnimationEnd' , 'MozTransition' : 'animationend' , 'WebkitTransition' : 'webkitAnimationEnd' } for ( t in transitions ) { if ( el . style [ t ] !== undefined ) { return transitions [ t ] } } }
Determine which animationend event is supported
Determine which animationend event is supported