Skip to content

Commit

Permalink
Fixed local reference in Timeline.updateDuration loop.
Browse files Browse the repository at this point in the history
Updated the NEXT lib.

Signed-off-by: Lanny McNie <lanny@gskinner.com>
  • Loading branch information
Lanny McNie committed Mar 26, 2013
1 parent bd351f8 commit 39f6a18
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions VERSIONS.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions lib/tweenjs-NEXT.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/tweenjs/Timeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/tweenjs/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.