resting old animateElementTo(..)...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2014-02-05 01:52:37 +04:00
parent e8c2147c13
commit f5dd3ee914

View File

@ -451,7 +451,7 @@ function animationFrameRunner(func){
// NOTE: this is exclusive, e.g. all other animations set with this will
// be stopped on call...
function animateElementTo(elem, to, duration, easing, speed, use_transitions){
function animateElementTo2(elem, to, duration, easing, speed, use_transitions){
use_transitions = use_transitions != null ?
use_transitions
: USE_TRANSITIONS_FOR_ANIMATION
@ -534,7 +534,7 @@ function animateElementTo(elem, to, duration, easing, speed, use_transitions){
}
function stopAnimation(elem){
function stopAnimation2(elem){
var runner = elem.data('runner')
if(runner != null){
runner.stop()
@ -542,7 +542,6 @@ function stopAnimation(elem){
}
/* XXX legacy code...
// XXX make this a drop-in replacement for setElementTransform...
// XXX cleanup, still flacky...
function animateElementTo(elem, to, duration, easing, speed, use_transitions){
@ -669,7 +668,6 @@ function stopAnimation(elem){
return
}
}
*/
// XXX account for other transitions...