aboutsummaryrefslogtreecommitdiff
path: root/js/components/menu/menu.reel/menu.html
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.reel/menu.html
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.reel/menu.html')
-rwxr-xr-xjs/components/menu/menu.reel/menu.html20
1 files changed, 3 insertions, 17 deletions
diff --git a/js/components/menu/menu.reel/menu.html b/js/components/menu/menu.reel/menu.html
index 49956f8a..7f2aeeef 100755
--- a/js/components/menu/menu.reel/menu.html
+++ b/js/components/menu/menu.reel/menu.html
@@ -21,11 +21,7 @@
21 "automaticallyOrganizeObjects": false 21 "automaticallyOrganizeObjects": false
22 }, 22 },
23 "bindings": { 23 "bindings": {
24 "content": { 24 "content": {"<-": "@menudata.topLevelMenu"}
25 "boundObject": {"@": "menudata"},
26 "boundObjectPropertyPath": "topLevelMenu",
27 "oneway": true
28 }
29 } 25 }
30 }, 26 },
31 27
@@ -44,18 +40,8 @@
44 "element": { "#": "menuItem" } 40 "element": { "#": "menuItem" }
45 }, 41 },
46 "bindings": { 42 "bindings": {
47 "data": { 43 "data": {"<-": "@repetition.objectAtCurrentIteration"},
48 "boundObject": {"@": "repetition"}, 44 "_menu": {"<-": "@repetition.menuComponent"}
49 "boundObjectPropertyPath": "objectAtCurrentIteration",
50 "oneway": true
51 },
52 "_menu": {
53 "boundObject": {"@": "repetition"},
54 "boundObjectPropertyPath": "menuComponent",
55 "oneway": true
56 }
57
58
59 } 45 }
60 }, 46 },
61 47