aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorEric Guzman2012-05-25 16:34:52 -0700
committerEric Guzman2012-05-25 16:34:52 -0700
commitdad4e3aa51b9f2b370f20f13bdb00ccc33f8d891 (patch)
treed9ea2389357bf177a1f8193b392f4497864d6421 /js
parent2c1aec1f4d7b2ca03cb9911feeb8a9d1d66f9826 (diff)
downloadninja-dad4e3aa51b9f2b370f20f13bdb00ccc33f8d891.tar.gz
Object component - Minor cleanup
Diffstat (limited to 'js')
-rw-r--r--js/panels/objects/object.reel/object.js32
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