aboutsummaryrefslogtreecommitdiff
path: root/js/panels/css-panel/style-declaration.reel/style-declaration.html
diff options
context:
space:
mode:
authorEric Guzman2012-05-10 13:21:38 -0700
committerEric Guzman2012-05-10 13:21:38 -0700
commit6056a569caab94bdbdc2c60b58907109ff468dd3 (patch)
treef48716a7a82ab8d1d70ccefe12e71076d97cf610 /js/panels/css-panel/style-declaration.reel/style-declaration.html
parent830b6577ee25a6955bd4e275f216e1cadeff168c (diff)
downloadninja-6056a569caab94bdbdc2c60b58907109ff468dd3.tar.gz
Style Declaration - Improved updating of styles using binding.
Diffstat (limited to 'js/panels/css-panel/style-declaration.reel/style-declaration.html')
-rw-r--r--js/panels/css-panel/style-declaration.reel/style-declaration.html15
1 files changed, 13 insertions, 2 deletions
diff --git a/js/panels/css-panel/style-declaration.reel/style-declaration.html b/js/panels/css-panel/style-declaration.reel/style-declaration.html
index 9123e2a0..2fdb11d5 100644
--- a/js/panels/css-panel/style-declaration.reel/style-declaration.html
+++ b/js/panels/css-panel/style-declaration.reel/style-declaration.html
@@ -22,6 +22,9 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot
22 }, 22 },
23 "arrayController": { 23 "arrayController": {
24 "prototype": "montage/ui/controller/array-controller", 24 "prototype": "montage/ui/controller/array-controller",
25 "properties": {
26 "automaticallyOrganizeObjects": true
27 },
25 "bindings": { 28 "bindings": {
26 "content": { 29 "content": {
27 "boundObject": {"@": "owner"}, 30 "boundObject": {"@": "owner"},
@@ -44,9 +47,17 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot
44 "declaration": {"@": "owner"} 47 "declaration": {"@": "owner"}
45 }, 48 },
46 "bindings": { 49 "bindings": {
47 "sourceObject" : { 50 "propertyText" : {
51 "boundObject": {"@": "repetition"},
52 "boundObjectPropertyPath": "objectAtCurrentIteration.name"
53 },
54 "valueText" : {
55 "boundObject": {"@": "repetition"},
56 "boundObjectPropertyPath": "objectAtCurrentIteration.value"
57 },
58 "empty" : {
48 "boundObject": {"@": "repetition"}, 59 "boundObject": {"@": "repetition"},
49 "boundObjectPropertyPath": "objectAtCurrentIteration" 60 "boundObjectPropertyPath": "objectAtCurrentIteration.isEmpty"
50 }, 61 },
51 "delegate": { 62 "delegate": {
52 "boundObject": {"@": "owner"}, 63 "boundObject": {"@": "owner"},