diff options
author | Armen Kesablyan | 2012-06-13 11:37:11 -0700 |
---|---|---|
committer | Armen Kesablyan | 2012-06-13 11:37:11 -0700 |
commit | d2e2a39feeba51e976d139eddf6f1cf331457f4f (patch) | |
tree | 7616fb59b5210d0d0128f1fd5dde34a43eb13f11 /js/panels/objects/objects-panel.reel/objects-panel.html | |
parent | cfa2d42f6ca65eb3ce1bea92db5f4af87dd68bb5 (diff) | |
parent | d57ab6509805ba4e97d6c74be913a2c1b324af3a (diff) | |
download | ninja-d2e2a39feeba51e976d139eddf6f1cf331457f4f.tar.gz |
Merge pull request #12 from ericguzman/binding
Binding Panel update
Diffstat (limited to 'js/panels/objects/objects-panel.reel/objects-panel.html')
-rw-r--r-- | js/panels/objects/objects-panel.reel/objects-panel.html | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/js/panels/objects/objects-panel.reel/objects-panel.html b/js/panels/objects/objects-panel.reel/objects-panel.html index d68a59c0..17f414e8 100644 --- a/js/panels/objects/objects-panel.reel/objects-panel.html +++ b/js/panels/objects/objects-panel.reel/objects-panel.html | |||
@@ -27,11 +27,7 @@ | |||
27 | "arrayController": { | 27 | "arrayController": { |
28 | "prototype": "montage/ui/controller/array-controller", | 28 | "prototype": "montage/ui/controller/array-controller", |
29 | "bindings": { | 29 | "bindings": { |
30 | "content" : { | 30 | "content": {"<-": "@owner.objects"} |
31 | "boundObject": {"@": "owner"}, | ||
32 | "boundObjectPropertyPath": "objects", | ||
33 | "oneway": true | ||
34 | } | ||
35 | } | 31 | } |
36 | }, | 32 | }, |
37 | "objectComponent": { | 33 | "objectComponent": { |
@@ -40,16 +36,8 @@ | |||
40 | "element": {"#": "list-item"} | 36 | "element": {"#": "list-item"} |
41 | }, | 37 | }, |
42 | "bindings": { | 38 | "bindings": { |
43 | "sourceObject" : { | 39 | "sourceObject" : {"<-": "@repetition.objectAtCurrentIteration"}, |
44 | "boundObject": {"@": "repetition"}, | 40 | "identifier" : {"<-": "@repetition.objectAtCurrentIteration.identifier"} |
45 | "boundObjectPropertyPath": "objectAtCurrentIteration", | ||
46 | "oneway": true | ||
47 | }, | ||
48 | "identifier" : { | ||
49 | "boundObject": {"@": "repetition"}, | ||
50 | "boundObjectPropertyPath": "objectAtCurrentIteration.identifier", | ||
51 | "oneway": true | ||
52 | } | ||
53 | } | 41 | } |
54 | } | 42 | } |
55 | 43 | ||