nl_tokens: Scrolls to the given location .
pl_tokens: function ( x , y , animation ) { if ( this . isDestroyed ) { return this ; } //<deprecated product=touch since=2.0> if ( typeof x != 'number' && arguments . length === 1 ) { //<debug warn> Ext . Logger . deprecate ( "Calling scrollTo() with an object argument is deprecated, " + "please pass x and y arguments instead" , this ) ; //</debug> y = x . y ; x = x . x ; } //</deprecated> var translatable = this . getTranslatable ( ) , position = this . position , positionChanged = false , translationX , translationY ; if ( this . isAxisEnabled ( 'x' ) ) { if ( isNaN ( x ) || typeof x != 'number' ) { x = position . x ; } else { if ( position . x !== x ) { position . x = x ; positionChanged = true ; } } translationX = - x ; } if ( this . isAxisEnabled ( 'y' ) ) { if ( isNaN ( y ) || typeof y != 'number' ) { y = position . y ; } else { if ( <mask> . y !== y ) { position . y = y ; positionChanged = true ; } } translationY = - y ; } if ( positionChanged ) { if ( animation !== undefined && animation !== false ) { translatable . translateAnimated ( translationX , translationY , animation ) ; } else { this . fireEvent ( 'scroll' , this , position . x , position . y ) ; translatable . translate ( translationX , translationY ) ; } } return this ; }