diff --git a/lib/jli.js b/lib/jli.js index 52fb7a2..a340f09 100755 --- a/lib/jli.js +++ b/lib/jli.js @@ -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...