aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js
diff options
context:
space:
mode:
authorJonathan Duran2012-03-02 09:03:36 -0800
committerJonathan Duran2012-03-02 09:03:36 -0800
commitab5558ea89e7c9ef94b608b568b5fb345bd5adaa (patch)
treee2c56a81cb615ef05abd8321ccb1dfefc7949f22 /js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js
parent40c1d9df5b28d37facc10ee6de4d742caed59a6f (diff)
downloadninja-ab5558ea89e7c9ef94b608b568b5fb345bd5adaa.tar.gz
Cleanup
remove commented lines Signed-off-by: Jonathan Duran <jduran@motorola.com>
Diffstat (limited to 'js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js')
-rw-r--r--js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js
index 1521f0fd..529b5625 100644
--- a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js
+++ b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js
@@ -562,15 +562,10 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, {
562 var trackDur = parseInt(this.trackDuration); 562 var trackDur = parseInt(this.trackDuration);
563 var keyframePercent = Math.round((keyMill / trackDur) * 100) + "%"; 563 var keyframePercent = Math.round((keyMill / trackDur) * 100) + "%";
564 var keyframePropertyString = " " + keyframePercent + " {"; 564 var keyframePropertyString = " " + keyframePercent + " {";
565
566 for(var prop in this.tweens[i].tweenedProperties){ 565 for(var prop in this.tweens[i].tweenedProperties){
567 console.log(prop); 566 console.log(prop);
568 keyframePropertyString += prop + ": " + this.tweens[i].tweenedProperties[prop] + "px;"; 567 keyframePropertyString += prop + ": " + this.tweens[i].tweenedProperties[prop] + "px;";
569 } 568 }
570
571 //keyframePropertyString += "top: " + this.tweens[i].tweenedProperties["top"] + "px;";
572 //keyframePropertyString += "left: " + this.tweens[i].tweenedProperties["left"] + "px;";
573
574 keyframePropertyString += "}"; 569 keyframePropertyString += "}";
575 keyframeString += keyframePropertyString; 570 keyframeString += keyframePropertyString;
576 } 571 }