aboutsummaryrefslogtreecommitdiff
path: root/js/components/menu/menu-item.reel/menu-item.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-29 00:34:40 -0700
committerValerio Virgillito2012-05-29 00:34:40 -0700
commit4c3aac5eabd93052b1554a03d78235215bb49db4 (patch)
treefe08f4f6d33d81d602f56daeaec845577fb9d8a5 /js/components/menu/menu-item.reel/menu-item.js
parent9a66ccad0235484643ef6d821315b11b5be4a93e (diff)
downloadninja-4c3aac5eabd93052b1554a03d78235215bb49db4.tar.gz
document bindings phase 1
- using array controller to bind the current document to all ninja components - removed open document event - removed references to the document controller Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/components/menu/menu-item.reel/menu-item.js')
-rwxr-xr-xjs/components/menu/menu-item.reel/menu-item.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/js/components/menu/menu-item.reel/menu-item.js b/js/components/menu/menu-item.reel/menu-item.js
index fc3913b8..9c18ed37 100755
--- a/js/components/menu/menu-item.reel/menu-item.js
+++ b/js/components/menu/menu-item.reel/menu-item.js
@@ -82,7 +82,7 @@ exports.MenuItem = Montage.create(Component, {
82 }); 82 });
83 83
84 } 84 }
85 85/*
86 if(this.data.enabled.boundProperty) { 86 if(this.data.enabled.boundProperty) {
87 87
88 boundObject = this.application.ninja[this.data.enabled.boundObj]; 88 boundObject = this.application.ninja[this.data.enabled.boundObj];
@@ -95,9 +95,11 @@ exports.MenuItem = Montage.create(Component, {
95 }); 95 });
96 96
97 } else { 97 } else {
98 */
98 this.enabled = this.data.enabled; 99 this.enabled = this.data.enabled;
100 /*
99 } 101 }
100 102 */
101 if(this.data.submenu) { 103 if(this.data.submenu) {
102 this.submenu = true; 104 this.submenu = true;
103 105