Skip to content
Browse files

fixed cacheKeys fulfilling test: deep object animation #56

  • Loading branch information...
1 parent d81886f commit 45574f7a7ca76f52202cdb288b4b7547891edbc2 @mzgoddard mzgoddard committed Nov 30, 2011
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/abacus.animation.js
  2. +2 −0 test/unit/abacus.animation.js
View
2 src/abacus.animation.js
@@ -87,7 +87,7 @@
}
for ( key = 0, length = keys.length; key < length; key++ ) {
- keys.push( cacheKeys( values[ key ] , [] ) );
+ keys.push( cacheKeys( values[ keys[ key ] ] , [] ) );
}
return keys;
View
2 test/unit/abacus.animation.js
@@ -294,6 +294,8 @@ test('deep object animation', 2, function() {
}
});
+ console.log( layer );
+
layer.step({ rate: 5 }, obj, { sinceStart: 2000 });
equal( obj.x, 6 );

0 comments on commit 45574f7

Please sign in to comment.
Something went wrong with that request. Please try again.