static/ext/src/fx/Animator.js
function(target) {
        var me = this,
            anims = [],
            timeline = me.timeline,
            ln = timeline.length,
            anim, easing, damper, attrs, i;

        if (me.fireEvent('beforeanimate', me) !== false) {
            for (i = 0; i < ln; i++) {
                anim = timeline[i];
                attrs = anim.attrs;
                easing = attrs.easing || me.easing;
                damper = attrs.damper || me.damper;
                delete attrs.easing;
                delete attrs.damper;
                anim = new Ext.fx.Anim({
                    target: target,
                    easing: easing,
                    damper: damper,
                    duration: anim.duration,
                    paused: true,
                    to: attrs
                });
                anims.push(anim);
            }
            me.animations = anims;
            me.target = anim.target;
            for (i = 0; i < ln - 1; i++) {
                anim = anims[i];
                anim.nextAnim = anims[i + 1];
                anim.on('afteranimate', function() {
                    this.nextAnim.paused = false;
                });
                anim.on('afteranimate', function() {
                    this.fireEvent('keyframe', this, ++this.keyframeStep);
                }, me);
            }
            anims[ln - 1].on('afteranimate', function() {
                this.lastFrame();
            }, me);
        }
    }
function(target) {
        var me = this,
            anims = [],
            timeline = me.timeline,
            ln = timeline.length,
            anim, easing, damper, attrs, i;

        if (me.fireEvent('beforeanimate', me) !== false) {
            for (i = 0; i < ln; i++) {
                anim = timeline[i];
                attrs = anim.attrs;
                easing = attrs.easing || me.easing;
                damper = attrs.damper || me.damper;
                delete attrs.easing;
                delete attrs.damper;
                anim = new Ext.fx.Anim({
                    target: target,
                    easing: easing,
                    damper: damper,
                    duration: anim.duration,
                    paused: true,
                    to: attrs
                });
                anims.push(anim);
            }
            me.animations = anims;
            me.target = anim.target;
            for (i = 0; i < ln - 1; i++) {
                anim = anims[i];
                anim.nextAnim = anims[i + 1];
                anim.on('afteranimate', function() {
                    this.nextAnim.paused = false;
                });
                anim.on('afteranimate', function() {
                    this.fireEvent('keyframe', this, ++this.keyframeStep);
                }, me);
            }
            anims[ln - 1].on('afteranimate', function() {
                this.lastFrame();
            }, me);
        }
    }
function ( target ) { var me = this , anims = [ ] , timeline = me . timeline , ln = timeline . length , anim , easing , damper , attrs , i ; if ( me . fireEvent ( 'beforeanimate' , me ) !== false ) { for ( i = 0 ; i < ln ; i ++ ) { anim = timeline [ i ] ; attrs = anim . attrs ; easing = attrs . easing || me . easing ; damper = attrs . damper || me . damper ; delete attrs . easing ; delete attrs . damper ; anim = new Ext . fx . Anim ( { target : target , easing : easing , damper : damper , duration : anim . duration , paused : true , to : attrs } ) ; anims . push ( anim ) ; } me . animations = anims ; me . target = anim . target ; for ( i = 0 ; i < ln - 1 ; i ++ ) { anim = anims [ i ] ; anim . nextAnim = anims [ i + 1 ] ; anim . on ( 'afteranimate' , function ( ) { this . nextAnim . paused = false ; } ) ; anim . on ( 'afteranimate' , function ( ) { this . fireEvent ( 'keyframe' , this , ++ this . keyframeStep ) ; } , me ) ; } anims [ ln - 1 ] . on ( 'afteranimate' , function ( ) { this . lastFrame ( ) ; } , me ) ; } }
Applies animation to the Ext.fx.target
@private
@param target
@type String/Object
Applies animation to the Ext . fx . target