From d8840eda0d3b3e31fb5a72306fe66608f4f99c2b Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Tue, 29 May 2012 23:52:59 -0700 Subject: fixing the menu bindings and some cleanup of the stage Signed-off-by: Valerio Virgillito --- js/components/menu/menu-entry.reel/menu-entry.html | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'js/components/menu/menu-entry.reel') diff --git a/js/components/menu/menu-entry.reel/menu-entry.html b/js/components/menu/menu-entry.reel/menu-entry.html index cd013a4e..f64de3cb 100755 --- a/js/components/menu/menu-entry.reel/menu-entry.html +++ b/js/components/menu/menu-entry.reel/menu-entry.html @@ -17,11 +17,7 @@ "automaticallyOrganizeObjects": false }, "bindings": { - "content": { - "boundObject": {"@": "owner"}, - "boundObjectPropertyPath": "data.entries", - "oneway": true - } + "content": {"<-": "@owner.data.entries"} } }, @@ -39,11 +35,8 @@ "element": { "#": "menuEntryItem" } }, "bindings": { - "data": { - "boundObject": {"@": "repetition"}, - "boundObjectPropertyPath": "objectAtCurrentIteration", - "oneway": true - } + "data": {"<-": "@repetition.objectAtCurrentIteration"}, + "enabled": {"<-": "@repetition.objectAtCurrentIteration.enabled"} } }, -- cgit v1.2.3