diff options
author | Kruti Shah | 2012-02-29 12:36:46 -0800 |
---|---|---|
committer | Kruti Shah | 2012-02-29 12:36:46 -0800 |
commit | 6e28beaca4ebc740fdc637d65f0b966c59fd05d2 (patch) | |
tree | 5dfb5497b22d9cf610eccc26fab779bde47e8fa7 /js | |
parent | 8ccc989388bfbcb0d5713c44b9c97ef5ce45d31c (diff) | |
download | ninja-6e28beaca4ebc740fdc637d65f0b966c59fd05d2.tar.gz |
TImeline: Cleanup
Signed-off-by: Kruti Shah <kruti.shah@motorola.com>
Diffstat (limited to 'js')
-rw-r--r-- | js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js index a2aaa550..7394d42e 100644 --- a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js +++ b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js | |||
@@ -476,7 +476,9 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, { | |||
476 | this.nextKeyframe = 0; | 476 | this.nextKeyframe = 0; |
477 | 477 | ||
478 | this.currentKeyframeRule = this.application.ninja.stylesController.getAnimationRuleWithName(this.animationName, this.application.ninja.currentDocument._document); | 478 | this.currentKeyframeRule = this.application.ninja.stylesController.getAnimationRuleWithName(this.animationName, this.application.ninja.currentDocument._document); |
479 | for (i =0; this.currentKeyframeRule[i] ;i++) { | 479 | var currentKeyFrameRuleLength = this.currentKeyframeRule.length; |
480 | |||
481 | for (i =0; i<currentKeyFrameRuleLength ;i++) { | ||
480 | var newTween = {}; | 482 | var newTween = {}; |
481 | 483 | ||
482 | offsetAttribute = this.currentKeyframeRule[i].cssText.split(" "); | 484 | offsetAttribute = this.currentKeyframeRule[i].cssText.split(" "); |