diff options
author | Eric Guzman | 2012-05-22 14:28:00 -0700 |
---|---|---|
committer | Eric Guzman | 2012-05-22 14:28:00 -0700 |
commit | 1c3da2901f454ad2c18e20216bb2517740a1c080 (patch) | |
tree | f91f102be89eb01362da1a7d209deecb98b413a9 /js/panels/css-panel/style-declaration.reel/style-declaration.html | |
parent | 70a85334144a9516fdec7b09eb5c9856230d12f1 (diff) | |
download | ninja-1c3da2901f454ad2c18e20216bb2517740a1c080.tar.gz |
CSS Panel - Update components to use new serialization format
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.html | 35 |
1 files changed, 7 insertions, 28 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 9fc45640..fad54453 100644 --- a/js/panels/css-panel/style-declaration.reel/style-declaration.html +++ b/js/panels/css-panel/style-declaration.reel/style-declaration.html | |||
@@ -11,8 +11,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot | |||
11 | <script type="text/montage-serialization"> | 11 | <script type="text/montage-serialization"> |
12 | { | 12 | { |
13 | "owner": { | 13 | "owner": { |
14 | "module" : "js/panels/css-panel/style-declaration.reel", | 14 | "prototype" : "js/panels/css-panel/style-declaration.reel", |
15 | "name" : "Declaration", | ||
16 | "properties" : { | 15 | "properties" : { |
17 | "element" : {"#" : "container"}, | 16 | "element" : {"#" : "container"}, |
18 | "arrayController": {"@": "arrayController"}, | 17 | "arrayController": {"@": "arrayController"}, |
@@ -26,11 +25,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot | |||
26 | "automaticallyOrganizeObjects": true | 25 | "automaticallyOrganizeObjects": true |
27 | }, | 26 | }, |
28 | "bindings": { | 27 | "bindings": { |
29 | "content": { | 28 | "content": {"<-": "@owner.styles" } |
30 | "boundObject": {"@": "owner"}, | ||
31 | "boundObjectPropertyPath": "styles", | ||
32 | "oneway": true | ||
33 | } | ||
34 | } | 29 | } |
35 | }, | 30 | }, |
36 | "repetition": { | 31 | "repetition": { |
@@ -47,27 +42,11 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot | |||
47 | "declaration": {"@": "owner"} | 42 | "declaration": {"@": "owner"} |
48 | }, | 43 | }, |
49 | "bindings": { | 44 | "bindings": { |
50 | "source" : { | 45 | "source": {"<-": "@repetition.objectAtCurrentIteration" }, |
51 | "boundObject": {"@": "repetition"}, | 46 | "propertyText": {"<<->": "@repetition.objectAtCurrentIteration.name" }, |
52 | "boundObjectPropertyPath": "objectAtCurrentIteration", | 47 | "valueText": {"<<->": "@repetition.objectAtCurrentIteration.value" }, |
53 | "oneway": true | 48 | "empty": {"<<->": "@repetition.objectAtCurrentIteration.isEmpty" }, |
54 | }, | 49 | "delegate": {"<-": "@owner.focusDelegate" } |
55 | "propertyText" : { | ||
56 | "boundObject": {"@": "repetition"}, | ||
57 | "boundObjectPropertyPath": "objectAtCurrentIteration.name" | ||
58 | }, | ||
59 | "valueText" : { | ||
60 | "boundObject": {"@": "repetition"}, | ||
61 | "boundObjectPropertyPath": "objectAtCurrentIteration.value" | ||
62 | }, | ||
63 | "empty" : { | ||
64 | "boundObject": {"@": "repetition"}, | ||
65 | "boundObjectPropertyPath": "objectAtCurrentIteration.isEmpty" | ||
66 | }, | ||
67 | "delegate": { | ||
68 | "boundObject": {"@": "owner"}, | ||
69 | "boundObjectPropertyPath": "focusDelegate" | ||
70 | } | ||
71 | } | 50 | } |
72 | } | 51 | } |
73 | 52 | ||