From e8c4e98c24092a360eb2f637983fd104fbb67f66 Mon Sep 17 00:00:00 2001 From: Armen Kesablyan Date: Fri, 25 May 2012 11:22:05 -0700 Subject: Setup up Binding View Draw Cycle Signed-off-by: Armen Kesablyan --- js/stage/binding-view.reel/binding-view.html | 31 +++++++++------------------- 1 file changed, 10 insertions(+), 21 deletions(-) (limited to 'js/stage/binding-view.reel/binding-view.html') diff --git a/js/stage/binding-view.reel/binding-view.html b/js/stage/binding-view.reel/binding-view.html index 152345d4..b77f8e27 100755 --- a/js/stage/binding-view.reel/binding-view.html +++ b/js/stage/binding-view.reel/binding-view.html @@ -24,17 +24,16 @@ "element": {"#": "hudRepeater"} }, "bindings": { - "objects": { - "boundObject": {"@": "owner"}, - "boundObjectPropertyPath": "bindables", - "oneway": true - } + "objects": {"<-": "@owner.bindables"} } }, "hud": { "prototype": "js/stage/binding-view.reel/binding-hud.reel", "properties": { "element": {"#" : "hud"} + }, + "bindings": { + "name": { } }, "nonVisualRepeater": { @@ -43,11 +42,7 @@ "element": {"#": "nonVisualRepeater"} }, "bindings": { - "objects": { - "boundObject": {"@": "owner"}, - "boundObjectPropertyPath": "nonVisualComponents", - "oneway": true - } + "objects": {"<-": "@owner.nonVisualComponents"} } }, "nonVisualComponent": { @@ -56,16 +51,8 @@ "element": {"#": "nonVisualComponent"} }, "bindings": { - "objectName": { - "boundObject": {"@": "hudRepeater"}, - "boundObjectPropertyPath": "objectAtCurrentIteration.objectName", - "oneway": true - }, - "objectImage": { - "boundObject": {"@": "hudRepeater"}, - "boundObjectPropertyPath": "objectAtCurrentIteration.objectImage", - "oneway": true - } + "objectName": {"<-": "@hudRepeater.objectAtCurrentIteration.objectName"}, + "objectImage": {"<-": "@hudRepeater.objectAtCurrentIteration.objectImage"} } } } @@ -82,7 +69,9 @@
-
+
+ +
-- cgit v1.2.3