Permalink
Browse files

Fixed local reference in Timeline.updateDuration loop.

Updated the NEXT lib.

Signed-off-by: Lanny McNie <lanny@gskinner.com>
  • Loading branch information...
1 parent bd351f8 commit 39f6a182c4d39bcbe8c26ecd9db9d0e11616739d @lannymcnie lannymcnie committed Mar 26, 2013
Showing with 10 additions and 5 deletions.
  1. +5 −0 VERSIONS.txt
  2. +3 −3 lib/tweenjs-NEXT.min.js
  3. +1 −1 src/tweenjs/Timeline.js
  4. +1 −1 src/tweenjs/version.js
View
@@ -1,3 +1,8 @@
+Version NEXT [Not Released]
+****************************************************************************************************
+- Fixed tween reference in a game loop of Timeline.
+
+
Version 0.4.0 [Feb 12, 2013]
****************************************************************************************************
- added EaselJS EventDispatcher capabilities to TweenJS
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -284,7 +284,7 @@ var p = Timeline.prototype;
p.updateDuration = function() {
this.duration = 0;
for (var i=0,l=this._tweens.length; i<l; i++) {
- tween = this._tweens[i];
+ var tween = this._tweens[i];
if (tween.duration > this.duration) { this.duration = tween.duration; }
}
}
View
@@ -22,6 +22,6 @@ o.version = /*version*/"NEXT"; // injected by build process
* @type String
* @static
**/
-o.buildDate = /*date*/"Thu, 21 Feb 2013 16:19:16 GMT"; // injected by build process
+o.buildDate = /*date*/"Tue, 26 Mar 2013 17:32:41 GMT"; // injected by build process
})();

0 comments on commit 39f6a18

Please sign in to comment.