diff options
author | Armen Kesablyan | 2012-05-19 14:48:35 -0700 |
---|---|---|
committer | Armen Kesablyan | 2012-05-19 14:48:35 -0700 |
commit | 95bef3bbd77c6c3bd01b5222986f2dd35a7218b4 (patch) | |
tree | 6d3b32090a971220edfd5d126b05ee68797c86f8 /js/stage/binding-view.reel/binding-view.html | |
parent | 6c8f3525b839e82cf43df43700a0160ee2c5458f (diff) | |
download | ninja-95bef3bbd77c6c3bd01b5222986f2dd35a7218b4.tar.gz |
Changes to binding view
Signed-off-by: Armen Kesablyan <armen@motorola.com>
Diffstat (limited to 'js/stage/binding-view.reel/binding-view.html')
-rwxr-xr-x | js/stage/binding-view.reel/binding-view.html | 36 |
1 files changed, 34 insertions, 2 deletions
diff --git a/js/stage/binding-view.reel/binding-view.html b/js/stage/binding-view.reel/binding-view.html index e3495542..43fa0112 100755 --- a/js/stage/binding-view.reel/binding-view.html +++ b/js/stage/binding-view.reel/binding-view.html | |||
@@ -14,10 +14,11 @@ | |||
14 | "owner": { | 14 | "owner": { |
15 | "prototype": "js/stage/binding-view.reel", | 15 | "prototype": "js/stage/binding-view.reel", |
16 | "properties": { | 16 | "properties": { |
17 | "element": {"#": "bindingView"} | 17 | "element": {"#": "bindingView"}, |
18 | "hudRepeater": {"@": "hudRepeater"} | ||
18 | } | 19 | } |
19 | }, | 20 | }, |
20 | "repeater": { | 21 | "hudRepeater": { |
21 | "prototype": "montage/ui/repetition.reel", | 22 | "prototype": "montage/ui/repetition.reel", |
22 | "properties": { | 23 | "properties": { |
23 | "element": {"#": "hudRepetition"} | 24 | "element": {"#": "hudRepetition"} |
@@ -35,6 +36,37 @@ | |||
35 | "properties": { | 36 | "properties": { |
36 | "element": {"#" : "hud"} | 37 | "element": {"#" : "hud"} |
37 | } | 38 | } |
39 | }, | ||
40 | "nonVisualRepeater": { | ||
41 | "prototype": "montage/ui/repetition.reel", | ||
42 | "properties": { | ||
43 | "element": {"#": "nonVisualRepeater"} | ||
44 | }, | ||
45 | "bindings": { | ||
46 | "objects": { | ||
47 | "boundObject": {"@": "owner"}, | ||
48 | "boundObjectPropertyPath": "nonVisualComponents", | ||
49 | "oneway": true | ||
50 | } | ||
51 | } | ||
52 | }, | ||
53 | "nonVisualComponent": { | ||
54 | "prototype": "js/stage/binding-view.reel/non-visual-component.reel", | ||
55 | "properties": { | ||
56 | "element": {"#": "nonVisualComponent"} | ||
57 | }, | ||
58 | "bindings": { | ||
59 | "objectName": { | ||
60 | "boundObject": {"@": "hudRepetition"}, | ||
61 | "boundObjectPropertyPath": "objectAtCurrentIteration.objectName", | ||
62 | "oneway": true | ||
63 | }, | ||
64 | "objectImage": { | ||
65 | "boundObject": {"@": "undoList"}, | ||
66 | "boundObjectPropertyPath": "objectAtCurrentIteration.objectImage", | ||
67 | "oneway": true | ||
68 | } | ||
69 | } | ||
38 | } | 70 | } |
39 | } | 71 | } |
40 | </script> | 72 | </script> |