modules/support.js
function animationEnd() {
    let el = document.createElement('tiny');

    let animEndEventNames = {
        WebkitAnimation : 'webkitAnimationEnd',
        MozAnimation    : 'animationend',
        OAnimation      : 'oAnimationEnd oanimationend',
        animation       : 'animationend'
    };

    for (let name in animEndEventNames) {
        if (animEndEventNames.hasOwnProperty(name) && el.style[name] !== undefined) {
            return {
                end: animEndEventNames[name]
            };
        }
    }

    return false;
}
function animationEnd() {
    let el = document.createElement('tiny');

    let animEndEventNames = {
        WebkitAnimation : 'webkitAnimationEnd',
        MozAnimation    : 'animationend',
        OAnimation      : 'oAnimationEnd oanimationend',
        animation       : 'animationend'
    };

    for (let name in animEndEventNames) {
        if (animEndEventNames.hasOwnProperty(name) && el.style[name] !== undefined) {
            return {
                end: animEndEventNames[name]
            };
        }
    }

    return false;
}
function animationEnd ( ) { let el = document . createElement ( 'tiny' ) ; let animEndEventNames = { WebkitAnimation : 'webkitAnimationEnd' , MozAnimation : 'animationend' , OAnimation : 'oAnimationEnd oanimationend' , animation : 'animationend' } ; for ( let name in animEndEventNames ) { if ( animEndEventNames . hasOwnProperty ( name ) && el . style [ name ] !== undefined ) { return { end : animEndEventNames [ name ] } ; } } return false ; }
Checks for the CSS Animations support

@function
@private
Checks for the CSS Animations support