aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/Span.reel/Span.js
diff options
context:
space:
mode:
authorAnanya Sen2012-02-10 16:05:27 -0800
committerAnanya Sen2012-02-10 16:05:27 -0800
commitf3dc624fa464a79fd8e8cec1ddd16ed2109bda23 (patch)
treef716757dab75d7626297893c7f4aca3596d606de /js/panels/Timeline/Span.reel/Span.js
parentc48eeb01bd726895dc577d8b843b2a75883eee07 (diff)
downloadninja-f3dc624fa464a79fd8e8cec1ddd16ed2109bda23.tar.gz
Revert "Merge from /joseeight/ninja-internal/tree/FileIO"
This reverts commit c48eeb01bd726895dc577d8b843b2a75883eee07. Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/panels/Timeline/Span.reel/Span.js')
-rw-r--r--js/panels/Timeline/Span.reel/Span.js41
1 files changed, 0 insertions, 41 deletions
diff --git a/js/panels/Timeline/Span.reel/Span.js b/js/panels/Timeline/Span.reel/Span.js
deleted file mode 100644
index f7bd4ff0..00000000
--- a/js/panels/Timeline/Span.reel/Span.js
+++ /dev/null
@@ -1,41 +0,0 @@
1var Montage = require("montage/core/core").Montage;
2var Component = require("montage/ui/component").Component;
3
4var Span = exports.Span = Montage.create(Component, {
5
6 hasTemplate:{
7 value: true
8 },
9
10 _spanWidth:{
11 value:0
12 },
13
14 spanWidth:{
15 serializable:true,
16 get:function () {
17 return this._spanWidth;
18 },
19 set:function (value) {
20 this._spanWidth = value;
21 }
22 },
23
24 prepareForDraw:{
25 value:function(){
26
27 }
28 },
29
30 draw:{
31 value: function(){
32 this.tweenspan.style.width = this.spanWidth + "px";
33 }
34 },
35
36 highlightSpan:{
37 value: function(){
38 this.tweenspan.classList.add("spanHighlight");
39 }
40 }
41});