Permalink
Browse files

Important order reversal of logging & execution of keyframe.

  • Loading branch information...
1 parent 8d670d0 commit a4017e9b390c6c84e4d4cf85eb22e62ef567b43b @KuraFire committed Feb 6, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 jquery.runloop.0.9.js
View
6 jquery.runloop.0.9.js
@@ -189,11 +189,11 @@
if (execLog.indexOf( 'at' + step ) == -1 && map['at' + step]) {
- // Execute the stored function for this keyframe
- map['at' + step]();
-
// Log this keyframe location, to prevent double-execution
execLog.push( 'at' + step );
+
+ // Execute the stored function for this keyframe
+ map['at' + step]();
}
},
easing: 'linear',

0 comments on commit a4017e9

Please sign in to comment.