diff options
author | Eric Guzman | 2012-05-25 16:34:52 -0700 |
---|---|---|
committer | Eric Guzman | 2012-05-25 16:34:52 -0700 |
commit | dad4e3aa51b9f2b370f20f13bdb00ccc33f8d891 (patch) | |
tree | d9ea2389357bf177a1f8193b392f4497864d6421 /js/panels | |
parent | 2c1aec1f4d7b2ca03cb9911feeb8a9d1d66f9826 (diff) | |
download | ninja-dad4e3aa51b9f2b370f20f13bdb00ccc33f8d891.tar.gz |
Object component - Minor cleanup
Diffstat (limited to 'js/panels')
-rw-r--r-- | js/panels/objects/object.reel/object.js | 32 |
1 files changed, 5 insertions, 27 deletions
diff --git a/js/panels/objects/object.reel/object.js b/js/panels/objects/object.reel/object.js index 953c1baf..43abafad 100644 --- a/js/panels/objects/object.reel/object.js +++ b/js/panels/objects/object.reel/object.js | |||
@@ -57,41 +57,19 @@ exports.Object = Montage.create(Component, { | |||
57 | get: function() { | 57 | get: function() { |
58 | return this._montageLabel; | 58 | return this._montageLabel; |
59 | }, | 59 | }, |
60 | set: function(value) { | 60 | set: function(data) { |
61 | if(this._montageMetaData === value) { return false; } | 61 | if(this._montageMetaData === data) { return false; } |
62 | 62 | ||
63 | this._montageMetaData = value; | 63 | this._montageMetaData = data; |
64 | 64 | ||
65 | if(!this.identifier && value.label) { | 65 | if(!this.identifier && data.label) { |
66 | this.label = value.label; | 66 | this.label = data.label; |
67 | this.needsDraw = true; | 67 | this.needsDraw = true; |
68 | } | 68 | } |
69 | } | 69 | } |
70 | 70 | ||
71 | }, | 71 | }, |
72 | 72 | ||
73 | templateDidLoad: { | ||
74 | value: function() { | ||
75 | console.log('object loaded'); | ||
76 | } | ||
77 | }, | ||
78 | |||
79 | prepareForDraw : { | ||
80 | value: function() { | ||
81 | |||
82 | } | ||
83 | }, | ||
84 | |||
85 | willDraw : { | ||
86 | value: function() { | ||
87 | if(this._needsPropertyInspection) { | ||
88 | |||
89 | } | ||
90 | |||
91 | console.log("This label ", this.label); | ||
92 | } | ||
93 | }, | ||
94 | |||
95 | draw : { | 73 | draw : { |
96 | value: function() { | 74 | value: function() { |
97 | 75 | ||