some fixes...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2014-02-05 02:16:35 +04:00
parent d512d8d082
commit 02b0c304a7

View File

@ -479,14 +479,16 @@ function animateElementTo2(elem, to, duration, easing, speed, use_transitions){
// do var caching...
var to_top = to.top
var to_left = to.left
var speen_x = speed.x
var speen_y = speed.y
var from_top = from.top
var from_left = from.left
var cur_top = from_top
var cur_left = form_left
var cur_left = from_left
var dist_top = to_top - from_top
var dist_left = to_left - from_left
if(speed != null){
var speed_x = speed.x
var speed_y = speed.y
}
var runner = animationFrameRunner(function(){
var t = Date.now()